mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
[DLM] fix coverity-spotted stupidity
Replacement patch to remove redundant code rather than moving it around. Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
04b933f27b
commit
0320672702
@ -319,8 +319,6 @@ static int receive_from_sock(struct connection *con)
|
||||
|
||||
if (ret <= 0)
|
||||
goto out_close;
|
||||
if (ret == -EAGAIN)
|
||||
goto out_resched;
|
||||
|
||||
if (ret == len)
|
||||
call_again_soon = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user