Content-Type: multipart/mixed; boundary="===============3563557112909674543==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] mld: mld_check_leave_group() can be static Date: Tue, 09 Feb 2021 11:34:56 +0800 Message-ID: <20210209033456.GA29327@eacb66f1e73b> In-Reply-To: <20210208175952.5880-1-ap420073@gmail.com> List-Id: --===============3563557112909674543== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reported-by: kernel test robot Signed-off-by: kernel test robot --- 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) =3D=3D 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 omo= de) { if (atomic_read(&mc_lst->sl_count) =3D=3D 1 && omode =3D=3D MCAST_INCLUDE) return true; --===============3563557112909674543==--