]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre: obdclass: class_obd: Declare as static
authorShraddha Barke <shraddha.6596@gmail.com>
Fri, 2 Oct 2015 17:49:14 +0000 (23:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 07:46:19 +0000 (08:46 +0100)
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>
drivers/staging/lustre/lustre/obdclass/class_obd.c

index 058b859de156b674c86b64f7d6882181fb4eecc0..d16f85b49ff4f50ff2fad9c97686e40dd7164205 100644 (file)
@@ -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;