提交 fb320795 编写于 作者: S Shraddha Barke 提交者: Greg Kroah-Hartman

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: NShraddha Barke <shraddha.6596@gmail.com>
Reviewed-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 cbe32724
...@@ -133,7 +133,7 @@ static inline void obd_conn2data(struct obd_ioctl_data *data, ...@@ -133,7 +133,7 @@ static inline void obd_conn2data(struct obd_ioctl_data *data,
data->ioc_cookie = conn->cookie; 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 rc;
int dev; int dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册