All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: lustre: obdclass: Remove unused function obd_export_nid2str
@ 2015-10-04  9:28 Shraddha Barke
  2015-10-04 10:09 ` [Outreachy kernel] " Julia Lawall
  2015-10-04 10:15 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: Shraddha Barke @ 2015-10-04  9:28 UTC (permalink / raw)
  To: outreachy-kernel

Remove obd_export_nid2str as it is defined but not used anymore.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
---
 drivers/staging/lustre/lustre/obdclass/genops.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/lustre/lustre/obdclass/genops.c b/drivers/staging/lustre/lustre/obdclass/genops.c
index fbf216b..e0b8150 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);
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-04 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04  9:28 [PATCH] Staging: lustre: obdclass: Remove unused function obd_export_nid2str Shraddha Barke
2015-10-04 10:09 ` [Outreachy kernel] " Julia Lawall
2015-10-04 10:26   ` Greg KH
2015-10-04 10:15 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.