diff options
author | Patrick Caulfield <pcaulfie@redhat.com> | 2007-03-26 09:56:00 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-05-01 09:10:57 +0100 |
commit | 032067270295cfca11975c0f7b467244aa170c14 (patch) | |
tree | 8e72e40bf68a0ff7960228ec44f49aafdd691040 | |
parent | 04b933f27bc8e7f3f6423020cec58a4eab3bb7a7 (diff) | |
download | linux-032067270295cfca11975c0f7b467244aa170c14.tar.gz linux-032067270295cfca11975c0f7b467244aa170c14.tar.bz2 linux-032067270295cfca11975c0f7b467244aa170c14.zip |
[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>
-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) if (ret <= 0) goto out_close; - if (ret == -EAGAIN) - goto out_resched; if (ret == len) call_again_soon = 1; |