mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
net/smc: remove duplicate unhash
unhash is already called in sock_put_work. Remove the second call. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a98bf8c0bc
commit
f5227cd9f1
1 changed files with 0 additions and 1 deletions
|
@ -147,7 +147,6 @@ static int smc_release(struct socket *sock)
|
|||
schedule_delayed_work(&smc->sock_put_work,
|
||||
SMC_CLOSE_SOCK_PUT_DELAY);
|
||||
}
|
||||
sk->sk_prot->unhash(sk);
|
||||
release_sock(sk);
|
||||
|
||||
sock_put(sk);
|
||||
|
|
Loading…
Reference in a new issue