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>
This commit is contained in:
parent
36c697bda5
commit
e1ae9fb6c2
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user