diff options
author | Fam Zheng <famz@redhat.com> | 2017-05-05 10:04:30 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2017-05-10 10:19:24 +0300 |
commit | e1ae9fb6c2a35015ed4881def4a4a7b6be2d15f0 (patch) | |
tree | 4f5133cd939355bb0dbed106e2d1d2fabb0bf8a1 | |
parent | 36c697bda59acf1f8d67a437403f857ec905f2ba (diff) | |
download | qemu-e1ae9fb6c2a35015ed4881def4a4a7b6be2d15f0.zip qemu-e1ae9fb6c2a35015ed4881def4a4a7b6be2d15f0.tar.gz qemu-e1ae9fb6c2a35015ed4881def4a4a7b6be2d15f0.tar.bz2 |
tests: Remove redundant assignment
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | tests/postcopy-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index de35a18..e86f876 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"); |