diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2007-03-26 04:56:00 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-01 04:10:57 -0400 |
commit | 032067270295cfca11975c0f7b467244aa170c14 (patch) | |
tree | 8e72e40bf68a0ff7960228ec44f49aafdd691040 /fs | |
parent | 04b933f27bc8e7f3f6423020cec58a4eab3bb7a7 (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')
-rw-r--r-- | fs/dlm/lowcomms-tcp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c index 9bfe7fb721e6..919e92a6aebb 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) | |||
319 | 319 | ||
320 | if (ret <= 0) | 320 | if (ret <= 0) |
321 | goto out_close; | 321 | goto out_close; |
322 | if (ret == -EAGAIN) | ||
323 | goto out_resched; | ||
324 | 322 | ||
325 | if (ret == len) | 323 | if (ret == len) |
326 | call_again_soon = 1; | 324 | call_again_soon = 1; |