瀏覽代碼

[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>
Patrick Caulfield 18 年之前
父節點
當前提交
0320672702
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/dlm/lowcomms-tcp.c

+ 0 - 2
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;