sctp: remove the typedef sctp_initack_chunk_t
authorXin Long <lucien.xin@gmail.com>
Sun, 23 Jul 2017 01:34:26 +0000 (09:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 23:01:19 +0000 (16:01 -0700)
commitcb1844c47279fb59129f8a021a0b09bcf2011ad7
treed5d8260832691acae71eb4dafd1b11a6bf096d1f
parent56eda01d5348bd8b90fb32985b4b3d4b59c88ff2
sctp: remove the typedef sctp_initack_chunk_t

This patch is to remove the typedef sctp_initack_chunk_t, and
replace with struct sctp_initack_chunk 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_statefuns.c