From: Mr NeilBrown Date: Mon, 4 Nov 2019 04:20:58 +0000 (+1100) Subject: LU-9679 lnet: discard lnet_print_text_bufs() X-Git-Tag: 2.13.52~20 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=66c08998491c149db2e908daf03bb3296eccda45;hp=38e6ee6fb779c34c7ef3eb4a010332385b3b84c1 LU-9679 lnet: discard lnet_print_text_bufs() 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 Change-Id: Ic412cdef4981a043e94060e5de5646b836bb0e36 Reviewed-on: https://review.whamcloud.com/36659 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Chris Horn Reviewed-by: Serguei Smirnov Reviewed-by: Oleg Drokin --- diff --git a/lnet/lnet/config.c b/lnet/lnet/config.c index 8606f48..e375cd6 100644 --- a/lnet/lnet/config.c +++ b/lnet/lnet/config.c @@ -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) {