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:
Shraddha Barke 2015-10-02 23:19:14 +05:30 committed by Greg Kroah-Hartman
parent cbe327246d
commit fb32079570
1 changed files with 1 additions and 1 deletions

View 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;