]> 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)
commitd6b623a970be1f2c73c05cffcf569513b9ad2898
treedc880b14f6b94f2d7e92c1223a2278fc69835fca
parent9bd78ee1d0633b308b1510121d4bd037986f4d6b
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