mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
net/smc: remove duplicate unhash
unhash is already called in sock_put_work. Remove the second call. Signed-off-by: Ursula Braun <[email protected]> Reviewed-by: Thomas Richter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
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