sctp: remove the typedef sctp_addiphdr_t
authorXin Long <lucien.xin@gmail.com>
Thu, 3 Aug 2017 07:42:19 +0000 (15:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:45:47 +0000 (09:45 -0700)
commit65205cc465e9b37abbdbb3d595c46081b97e35bc
treec925351b0e0e858e00a750dfcd5752697e0ae0d2
parent8b32f2348a0441ef202562618b13d1bb494f3a47
sctp: remove the typedef sctp_addiphdr_t

This patch is to remove the typedef sctp_addiphdr_t, and
replace with struct sctp_addiphdr in the places where it's
using this typedef.

It is also to use sizeof(variable) instead of sizeof(type).

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
net/sctp/sm_make_chunk.c
net/sctp/sm_statefuns.c