]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre: obdclass: Remove unused function obd_export_nid2str
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 4 Oct 2015 09:28:01 +0000 (14:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 10:14:24 +0000 (11:14 +0100)
Remove obd_export_nid2str as it is defined but not used anymore.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/genops.c

index fbf216ba1cad710033bcd806185145b4539b7e99..e0b8150db71dc4b5a68e2a7aaa1e0a5b882b670c 100644 (file)
@@ -1104,14 +1104,6 @@ void class_fail_export(struct obd_export *exp)
 }
 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
 void (*class_export_dump_hook)(struct obd_export *) = NULL;
 EXPORT_SYMBOL(class_export_dump_hook);