mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
[NETLINK]: Remove unused groups variable
Leftover from dynamic multicast groups allocation work. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
267281058c
commit
33a0543cd9
@ -396,7 +396,6 @@ static int netlink_create(struct socket *sock, int protocol)
|
|||||||
{
|
{
|
||||||
struct module *module = NULL;
|
struct module *module = NULL;
|
||||||
struct netlink_sock *nlk;
|
struct netlink_sock *nlk;
|
||||||
unsigned int groups;
|
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
sock->state = SS_UNCONNECTED;
|
sock->state = SS_UNCONNECTED;
|
||||||
@ -418,7 +417,6 @@ static int netlink_create(struct socket *sock, int protocol)
|
|||||||
if (nl_table[protocol].registered &&
|
if (nl_table[protocol].registered &&
|
||||||
try_module_get(nl_table[protocol].module))
|
try_module_get(nl_table[protocol].module))
|
||||||
module = nl_table[protocol].module;
|
module = nl_table[protocol].module;
|
||||||
groups = nl_table[protocol].groups;
|
|
||||||
netlink_unlock_table();
|
netlink_unlock_table();
|
||||||
|
|
||||||
if ((err = __netlink_create(sock, protocol)) < 0)
|
if ((err = __netlink_create(sock, protocol)) < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user