From f84d22d4fd884e7b41c89e79a9c644bb8669505e Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 25 Jan 2023 07:30:31 +0900 Subject: [PATCH] lsfd: delete a redundant cast operation Signed-off-by: Masatake YAMATO --- misc-utils/lsfd-sock-xinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/lsfd-sock-xinfo.c b/misc-utils/lsfd-sock-xinfo.c index 955658bedb..5f48a46a3c 100644 --- a/misc-utils/lsfd-sock-xinfo.c +++ b/misc-utils/lsfd-sock-xinfo.c @@ -553,7 +553,7 @@ static bool tcp_get_listening(struct sock_xinfo *sock_xinfo, unsigned int p; \ bool has_lport = false; \ \ - if (inet_fill_column(proc, (struct inet_xinfo *)sock_xinfo, sock, ln, \ + if (inet_fill_column(proc, inet, sock, ln, \ column_id, column_index, str)) \ return true; \ \ -- 2.47.3