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

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

It is to use sizeof(variable) instead of sizeof(type), and
also fix some indent problems.

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