projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1b539b
)
selftests: mptcp: remove duplicate include in mptcp_inq.c
author
Ye Guojin
<ye.guojin@zte.com.cn>
Fri, 10 Dec 2021 07:14:24 +0000
(07:14 +0000)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 10 Dec 2021 19:00:32 +0000
(11:00 -0800)
'sys/ioctl.h' included in 'mptcp_inq.c' is duplicated.
Reported-by: ZealRobot <zealci@zte.com.cn>
Signed-off-by: Ye Guojin <ye.guojin@zte.com.cn>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link:
https://lore.kernel.org/r/20211210071424.425773-1-ye.guojin@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_inq.c
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/net/mptcp/mptcp_inq.c
b/tools/testing/selftests/net/mptcp/mptcp_inq.c
index
b8debd4
..
29f75e2
100644
(file)
--- a/
tools/testing/selftests/net/mptcp/mptcp_inq.c
+++ b/
tools/testing/selftests/net/mptcp/mptcp_inq.c
@@
-18,7
+18,6
@@
#include <time.h>
#include <sys/ioctl.h>
-#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>