Staging: lustre: ptlrpc: import: Declare deuuidify as static
Declare function deuuidify as static since it is used only in this particular file.Also remove the corresponding declaration from header files. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>hifive-unleashed-5.1
parent
fcdf51c179
commit
9dd7d427ab
|
@ -2523,8 +2523,6 @@ int ptlrpc_connect_import(struct obd_import *imp);
|
|||
int ptlrpc_init_import(struct obd_import *imp);
|
||||
int ptlrpc_disconnect_import(struct obd_import *imp, int noclose);
|
||||
int ptlrpc_import_recovery_state_machine(struct obd_import *imp);
|
||||
void deuuidify(char *uuid, const char *prefix, char **uuid_start,
|
||||
int *uuid_len);
|
||||
|
||||
/* ptlrpc/pack_generic.c */
|
||||
int ptlrpc_reconnect_import(struct obd_import *imp);
|
||||
|
|
|
@ -128,7 +128,8 @@ int ptlrpc_init_import(struct obd_import *imp)
|
|||
EXPORT_SYMBOL(ptlrpc_init_import);
|
||||
|
||||
#define UUID_STR "_UUID"
|
||||
void deuuidify(char *uuid, const char *prefix, char **uuid_start, int *uuid_len)
|
||||
static void deuuidify(char *uuid, const char *prefix, char **uuid_start,
|
||||
int *uuid_len)
|
||||
{
|
||||
*uuid_start = !prefix || strncmp(uuid, prefix, strlen(prefix))
|
||||
? uuid : uuid + strlen(prefix);
|
||||
|
|
Loading…
Reference in New Issue