[PATCH] fstests: remove duplicated renameat2 system call number for i386

kaixuxia
2019-10-11T07:03:30Z

Remove duplicated renameat2 system call number for i386.

Signed-off-by: kaixuxia <kaixuxia@tencent.com>
---
src/renameat2.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/src/renameat2.c b/src/renameat2.c
index c59ce65..8f712a4 100644
--- a/src/renameat2.c
+++ b/src/renameat2.c
@@ -18,10 +18,6 @@
#define SYS_renameat2 353
#endif

-#if !defined(SYS_renameat2) && defined(__i386__)
-#define SYS_renameat2 353
-#endif
-
static int renameat2(int dfd1, const char *path1,
int dfd2, const char *path2,
unsigned int flags)
--
1.8.3.1

--
kaixuxia