diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-12-07 13:38:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-07 21:03:12 +0100 |
commit | 71c125c3f23d714c1d0725ca11c9f27416f697c8 (patch) | |
tree | e4b6298d4e5854fb848e47333eacc8998252865b /net/smc/smc_cdc.c | |
parent | smc: no update for unused sk_write_pending (diff) | |
download | linux-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