summaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorPatrick Caulfield <pcaulfie@redhat.com>2007-03-26 09:56:00 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2007-05-01 09:10:57 +0100
commit032067270295cfca11975c0f7b467244aa170c14 (patch)
tree8e72e40bf68a0ff7960228ec44f49aafdd691040 /fs/dlm
parent04b933f27bc8e7f3f6423020cec58a4eab3bb7a7 (diff)
[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>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lowcomms-tcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index 9bfe7fb721e..919e92a6aeb 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -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;