Staging: lustre: obdclass: class_obd: Declare as static
Declare class_resolve_dev_name as static it is not used anywhere apart from this particular file.Also remove the declaration from header file 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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cbe327246d
commit
fb32079570
@@ -133,7 +133,7 @@ static inline void obd_conn2data(struct obd_ioctl_data *data,
|
||||
data->ioc_cookie = conn->cookie;
|
||||
}
|
||||
|
||||
int class_resolve_dev_name(__u32 len, const char *name)
|
||||
static int class_resolve_dev_name(__u32 len, const char *name)
|
||||
{
|
||||
int rc;
|
||||
int dev;
|
||||
|
||||
Reference in New Issue
Block a user