[CRIU] [PATCH 1/3] util: fd_has_data -- Drop unneeded curved braces

Cyrill Gorcunov gorcunov at openvz.org
Wed Sep 3 11:06:15 PDT 2014


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/util.c b/util.c
index 3b315375edd4..2ca3ed02bcc4 100644
--- a/util.c
+++ b/util.c
@@ -817,9 +817,8 @@ int fd_has_data(int lfd)
 	int ret;
 
 	ret = poll(&pfd, 1, 0);
-	if (ret < 0) {
+	if (ret < 0)
 		pr_perror("poll() failed");
-	}
 
 	return ret;
 }
-- 
1.9.3



More information about the CRIU mailing list