[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210209033456.GA29327@eacb66f1e73b>
Date: Tue, 9 Feb 2021 11:34:56 +0800
From: kernel test robot <lkp@...el.com>
To: Taehee Yoo <ap420073@...il.com>, davem@...emloft.net,
kuba@...nel.org, netdev@...r.kernel.org, dsahern@...nel.org,
xiyou.wangcong@...il.com, jwi@...ux.ibm.com, kgraul@...ux.ibm.com,
hca@...ux.ibm.com, gor@...ux.ibm.com, borntraeger@...ibm.com
Cc: kbuild-all@...ts.01.org
Subject: [RFC PATCH] mld: mld_check_leave_group() can be static
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
mcast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 5fd87659dcefa..c9862a647a4b6 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -330,7 +330,7 @@ void ipv6_sock_mc_close(struct sock *sk)
}
/* special case - (INCLUDE, empty) == LEAVE_GROUP */
-bool mld_check_leave_group(struct ipv6_mc_socklist *mc_lst, int omode)
+static bool mld_check_leave_group(struct ipv6_mc_socklist *mc_lst, int omode)
{
if (atomic_read(&mc_lst->sl_count) == 1 && omode == MCAST_INCLUDE)
return true;
Powered by blists - more mailing lists