From: Shraddha Barke Date: Fri, 2 Oct 2015 17:49:14 +0000 (+0530) Subject: Staging: lustre: obdclass: class_obd: Declare as static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb320795704ccb6f4694801543f1418aedabad72;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/class_obd.c b/drivers/staging/lustre/lustre/obdclass/class_obd.c index 058b859de156..d16f85b49ff4 100644 --- a/drivers/staging/lustre/lustre/obdclass/class_obd.c +++ b/drivers/staging/lustre/lustre/obdclass/class_obd.c @@ -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;