Message ID | 20210323033007.283521-1-wanjiabing@vivo.com |
---|---|
State | New |
Headers | show |
Series | tools: testing: Remove duplicate include of string.h | expand |
On Tue, 23 Mar 2021 11:29:56 +0800 Wan Jiabing <wanjiabing@vivo.com> wrote: > string.h has been included at line 15.So we remove the > duplicate one at line 17. Thanks. But we already have https://lkml.kernel.org/r/20210316073336.426255-1-zhang.yunkai@zte.com.cn.
diff --git a/tools/testing/selftests/mincore/mincore_selftest.c b/tools/testing/selftests/mincore/mincore_selftest.c index 5a1e85ff5d32..e54106643337 100644 --- a/tools/testing/selftests/mincore/mincore_selftest.c +++ b/tools/testing/selftests/mincore/mincore_selftest.c @@ -14,7 +14,6 @@ #include <sys/mman.h> #include <string.h> #include <fcntl.h> -#include <string.h> #include "../kselftest.h" #include "../kselftest_harness.h"
string.h has been included at line 15.So we remove the duplicate one at line 17. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> --- tools/testing/selftests/mincore/mincore_selftest.c | 1 - 1 file changed, 1 deletion(-)