lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] selftests: mptcp: remove duplicate include in mptcp_inq.c
    Date
    From: Ye Guojin <ye.guojin@zte.com.cn>

    '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>
    ---
    tools/testing/selftests/net/mptcp/mptcp_inq.c | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/tools/testing/selftests/net/mptcp/mptcp_inq.c b/tools/testing/selftests/net/mptcp/mptcp_inq.c
    index b8debd4fb5ed..29f75e2a1116 100644
    --- a/tools/testing/selftests/net/mptcp/mptcp_inq.c
    +++ b/tools/testing/selftests/net/mptcp/mptcp_inq.c
    @@ -17,7 +17,6 @@
    #include <unistd.h>
    #include <time.h>

    -#include <sys/ioctl.h>
    #include <sys/ioctl.h>
    #include <sys/socket.h>
    #include <sys/types.h>
    --
    2.25.1
    \
     
     \ /
      Last update: 2021-12-10 08:15    [W:2.234 / U:0.424 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site