[DLM] fix coverity-spotted stupidity
authorPatrick Caulfield <pcaulfie@redhat.com>
Mon, 26 Mar 2007 08:56:00 +0000 (09:56 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:10:57 +0000 (09:10 +0100)
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>
fs/dlm/lowcomms-tcp.c

index 9bfe7fb721e6ae0609bb0827caf4f4aa7eb2e51c..919e92a6aebb74bd0ca07f1c6ad45f8cd9fc00bf 100644 (file)
@@ -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;