• David S. Miller's avatar
    tcp: Remove "linux/unaligned/access_ok.h" include. · 949cf8b1
    David S. Miller authored
    This causes build failures:
    
    In file included from net/ipv4/tcp_input.c:79:0:
    ./include/linux/unaligned/access_ok.h:7:28: error: redefinition of
    'get_unaligned_le16'
    In file included from ./include/asm-generic/unaligned.h:17:0,
                     from ./arch/arm/include/generated/asm/unaligned.h:1,
                     from net/ipv4/tcp_input.c:76:
    ./include/linux/unaligned/le_struct.h:6:19: note: previous definition
    of 'get_unaligned_le16' was here
    In file included from net/ipv4/tcp_input.c:79:0:
    ./include/linux/unaligned/access_ok.h:12:28: error: redefinition of
    'get_unaligned_le32'
    
    Plain "asm/access_ok.h", which is already included, is
    sufficient.
    
    Fixes: 60e2a778 ("tcp: TCP experimental option for SMC")
    Reported-by: default avatarEgil Hjelmeland <privat@egil-hjelmeland.no>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    949cf8b1
tcp_input.c 181 KB