mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
stagng/lustre/obdclass: Remove unused function lprocfs_rd_num_exports
This function is unused in client code. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2962b440df
commit
cc551d5da6
@@ -638,7 +638,6 @@ extern int lprocfs_rd_conn_uuid(struct seq_file *m, void *data);
|
||||
extern int lprocfs_rd_import(struct seq_file *m, void *data);
|
||||
extern int lprocfs_rd_state(struct seq_file *m, void *data);
|
||||
extern int lprocfs_rd_connect_flags(struct seq_file *m, void *data);
|
||||
extern int lprocfs_rd_num_exports(struct seq_file *m, void *data);
|
||||
|
||||
struct adaptive_timeout;
|
||||
extern int lprocfs_at_hist_helper(struct seq_file *m,
|
||||
|
||||
@@ -994,16 +994,6 @@ int lprocfs_rd_connect_flags(struct seq_file *m, void *data)
|
||||
}
|
||||
EXPORT_SYMBOL(lprocfs_rd_connect_flags);
|
||||
|
||||
int lprocfs_rd_num_exports(struct seq_file *m, void *data)
|
||||
{
|
||||
struct obd_device *obd = data;
|
||||
|
||||
LASSERT(obd != NULL);
|
||||
seq_printf(m, "%u\n", obd->obd_num_exports);
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(lprocfs_rd_num_exports);
|
||||
|
||||
int lprocfs_obd_setup(struct obd_device *obd, struct lprocfs_vars *list)
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
Reference in New Issue
Block a user