Commit 03206727 authored by Patrick Caulfield's avatar Patrick Caulfield Committed by Steven Whitehouse

[DLM] fix coverity-spotted stupidity

Replacement patch to remove redundant code rather than moving it around.
Signed-Off-By: default avatarPatrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 04b933f2
...@@ -319,8 +319,6 @@ static int receive_from_sock(struct connection *con) ...@@ -319,8 +319,6 @@ static int receive_from_sock(struct connection *con)
if (ret <= 0) if (ret <= 0)
goto out_close; goto out_close;
if (ret == -EAGAIN)
goto out_resched;
if (ret == len) if (ret == len)
call_again_soon = 1; call_again_soon = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment