diff options
| author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-04 12:28:01 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 13:14:24 +0300 |
| commit | 5cc95cd81bca06698e64b4189a34cb57ec941d0d (patch) | |
| tree | cf345c00dec48a9a3b94f3705443c6525a2385de | |
| parent | 54a5e02abb03d296c07426d51ddaea8f4cc9ca39 (diff) | |
| download | linux-5cc95cd81bca06698e64b4189a34cb57ec941d0d.tar.xz | |
Staging: lustre: obdclass: Remove unused function obd_export_nid2str
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>
| -rw-r--r-- | drivers/staging/lustre/lustre/obdclass/genops.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/genops.c b/drivers/staging/lustre/lustre/obdclass/genops.c index fbf216ba1cad..e0b8150db71d 100644 --- a/drivers/staging/lustre/lustre/obdclass/genops.c +++ b/drivers/staging/lustre/lustre/obdclass/genops.c @@ -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); |
