Commit 5cc95cd8 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: lustre: obdclass: Remove unused function obd_export_nid2str

Remove obd_export_nid2str as it is defined but not used anymore.
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54a5e02a
...@@ -1104,14 +1104,6 @@ void class_fail_export(struct obd_export *exp) ...@@ -1104,14 +1104,6 @@ void class_fail_export(struct obd_export *exp)
} }
EXPORT_SYMBOL(class_fail_export); EXPORT_SYMBOL(class_fail_export);
static char *obd_export_nid2str(struct obd_export *exp)
{
if (exp->exp_connection != NULL)
return libcfs_nid2str(exp->exp_connection->c_peer.nid);
return "(no nid)";
}
#if LUSTRE_TRACKS_LOCK_EXP_REFS #if LUSTRE_TRACKS_LOCK_EXP_REFS
void (*class_export_dump_hook)(struct obd_export *) = NULL; void (*class_export_dump_hook)(struct obd_export *) = NULL;
EXPORT_SYMBOL(class_export_dump_hook); EXPORT_SYMBOL(class_export_dump_hook);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment