]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb71db234f537e5adf95fd24286099cdbc71e6903
treed72e4c4f0119ab2b30c83b71d69a2d020156458d
parent82979c47dd1bf44a29ff7365570d7948d4215290
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