Whamcloud - gitweb
LU-9679 lnet: discard lnet_print_text_bufs() 59/36659/2
authorMr NeilBrown <neilb@suse.de>
Mon, 4 Nov 2019 04:20:58 +0000 (15:20 +1100)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 04:00:21 +0000 (04:00 +0000)
lnet_print_text_bufs() is unused and has
never been used since it was introduced in
Commit ed88907a96ba ("Landing b_hd_newconfig on HEAD")
So let's remove it.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ic412cdef4981a043e94060e5de5646b836bb0e36
Reviewed-on: https://review.whamcloud.com/36659
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/config.c

index 8606f48..e375cd6 100644 (file)
@@ -901,21 +901,6 @@ lnet_free_text_bufs(struct list_head *tbs)
        }
 }
 
        }
 }
 
-void
-lnet_print_text_bufs(struct list_head *tbs)
-{
-       struct list_head *tmp;
-       struct lnet_text_buf  *ltb;
-
-       list_for_each(tmp, tbs) {
-               ltb = list_entry(tmp, struct lnet_text_buf, ltb_list);
-
-               CDEBUG(D_WARNING, "%s\n", ltb->ltb_text);
-       }
-
-       CDEBUG(D_WARNING, "%d allocated\n", lnet_tbnob);
-}
-
 static int
 lnet_str2tbs_sep(struct list_head *tbs, char *str)
 {
 static int
 lnet_str2tbs_sep(struct list_head *tbs, char *str)
 {