diff options
author | Kuniyuki Iwashima <kuniyu@amazon.co.jp> | 2020-01-25 11:41:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-27 11:01:16 +0100 |
commit | cd94ef06392ffd49e0a0e1c28bc5cd44f37f1f6b (patch) | |
tree | b312ccc60874177c7ccc5cc6d0faab843c9a536a /net/core/sock_reuseport.c | |
parent | Merge branch 'Support-fraglist-GRO-GSO' (diff) | |
download | linux-cd94ef06392ffd49e0a0e1c28bc5cd44f37f1f6b.tar.xz linux-cd94ef06392ffd49e0a0e1c28bc5cd44f37f1f6b.zip |
soreuseport: Cleanup duplicate initialization of more_reuse->max_socks.
reuseport_grow() does not need to initialize the more_reuse->max_socks
again. It is already initialized in __reuseport_alloc().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock_reuseport.c')
-rw-r--r-- | net/core/sock_reuseport.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/sock_reuseport.c b/net/core/sock_reuseport.c index f19f179538b9..91e9f2223c39 100644 --- a/net/core/sock_reuseport.c +++ b/net/core/sock_reuseport.c @@ -107,7 +107,6 @@ static struct sock_reuseport *reuseport_grow(struct sock_reuseport *reuse) if (!more_reuse) return NULL; - more_reuse->max_socks = more_socks_size; more_reuse->num_socks = reuse->num_socks; more_reuse->prog = reuse->prog; more_reuse->reuseport_id = reuse->reuseport_id; |