Skip to content

Commit f5227cd

Browse files
Ursula Braundavem330
authored andcommitted
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]>
1 parent a98bf8c commit f5227cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/smc/af_smc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ static int smc_release(struct socket *sock)
147147
schedule_delayed_work(&smc->sock_put_work,
148148
SMC_CLOSE_SOCK_PUT_DELAY);
149149
}
150-
sk->sk_prot->unhash(sk);
151150
release_sock(sk);
152151

153152
sock_put(sk);

0 commit comments

Comments
 (0)