From: Fam Zheng Date: Fri, 5 May 2017 02:04:30 +0000 (+0800) Subject: tests: Remove redundant assignment X-Git-Tag: v2.10.0-rc0~202^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1ae9fb6c2a35015ed4881def4a4a7b6be2d15f0;p=thirdparty%2Fqemu.git tests: Remove redundant assignment Signed-off-by: Fam Zheng Reviewed-by: Eric Blake Signed-off-by: Michael Tokarev --- diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index de35a18903a..e86f87656af 100644 --- a/tests/postcopy-test.c +++ b/tests/postcopy-test.c @@ -41,7 +41,7 @@ static bool ufd_version_check(void) struct uffdio_api api_struct; uint64_t ioctl_mask; - int ufd = ufd = syscall(__NR_userfaultfd, O_CLOEXEC); + int ufd = syscall(__NR_userfaultfd, O_CLOEXEC); if (ufd == -1) { g_test_message("Skipping test: userfaultfd not available");