From: Patrick Caulfield Date: Mon, 26 Mar 2007 08:56:00 +0000 (+0100) Subject: [DLM] fix coverity-spotted stupidity X-Git-Tag: v2.6.22-rc1~820^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=032067270295cfca11975c0f7b467244aa170c14;p=linux-2.6-omap-h63xx.git [DLM] fix coverity-spotted stupidity Replacement patch to remove redundant code rather than moving it around. Signed-Off-By: Patrick Caulfield Signed-off-by: Steven Whitehouse --- 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;