]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: remove sock_error detour in clc-functions
authorUrsula Braun <ubraun@linux.ibm.com>
Thu, 22 Nov 2018 09:26:36 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Nov 2018 01:20:32 +0000 (17:20 -0800)
commit2eebd5b0a72b564607ac9f1b6c8775e4d284b56c
treedc880b14f6b94f2d7e92c1223a2278fc69835fca
parent6a9a162e245c32a833a03d79ffc70af9db5b5161
net/smc: remove sock_error detour in clc-functions

There is no need to store the return value in sk_err, if it is
afterwards cleared again with sock_error(). This patch sets the
return value directly. Just cleanup, no functional change.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_clc.c