net/smc: cleanup listen worker mutex unlocking
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 22 Nov 2018 09:26:40 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:20:32 +0000 (17:20 -0800)
commit587e41dcea357a1ac15e3b31d800900e1c585d7e
tree4705cdd8b28076824edfe6a4f1fa7083a9a5a999
parent2b59f58e34e78abec2bccd2413ae9e7ea509a855
net/smc: cleanup listen worker mutex unlocking

For easier reading move the unlock of mutex smc_create_lgr_pending into
smc_listen_work(), i.e. into the function the mutex has been locked.
No functional change.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c