src/renameat2: remove duplicated renameat2 system call number for i386
authorkaixuxia <xiakaixu1987@gmail.com>
Fri, 11 Oct 2019 07:03:24 +0000 (15:03 +0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Oct 2019 13:01:41 +0000 (21:01 +0800)
Remove duplicated renameat2 system call number for i386.

Signed-off-by: kaixuxia <kaixuxia@tencent.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/renameat2.c

index c59ce65fc26024e41e57b2098fb52a2af7fdab47..8f712a40e1af88ebe09a4be9f6b2c6fc31fa09f8 100644 (file)
 #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)