configure: Fix compiler warning in config.log (value was never used)
authorStefan Weil <sw@weilnetz.de>
Sat, 17 Dec 2011 08:27:37 +0000 (09:27 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 19 Dec 2011 11:03:43 +0000 (11:03 +0000)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
configure

index e9725d4..bd6f10f 100755 (executable)
--- a/configure
+++ b/configure
@@ -2269,8 +2269,7 @@ cat > $TMPC << EOF
 
 int main(void)
 {
-    int efd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
-    return 0;
+    return eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
 }
 EOF
 if compile_prog "" "" ; then