]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c6d7f62f67837d69d496de654f06e9f3040fd42
tree4705cdd8b28076824edfe6a4f1fa7083a9a5a999
parent69e838ba6ffee4cfc8e3feea09559b8d7d2fc451
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