summaryrefslogtreecommitdiffstats
path: root/net/smc/smc_cdc.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-12-07 13:38:47 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-07 21:03:12 +0100
commit71c125c3f23d714c1d0725ca11c9f27416f697c8 (patch)
treee4b6298d4e5854fb848e47333eacc8998252865b /net/smc/smc_cdc.c
parentsmc: no update for unused sk_write_pending (diff)
downloadlinux-71c125c3f23d714c1d0725ca11c9f27416f697c8.tar.xz
linux-71c125c3f23d714c1d0725ca11c9f27416f697c8.zip
smc: cleanup close checking during data receival
When waiting for data to be received it must be checked if the peer signals shutdown. The SMC code uses two different checks for this purpose, even though just one check is sufficient. This patch removes the superfluous test for SOCK_DONE. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_cdc.c')
0 files changed, 0 insertions, 0 deletions