sctp: remove the typedef sctp_supported_ext_param_t
authorXin Long <lucien.xin@gmail.com>
Mon, 17 Jul 2017 03:29:56 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 03:52:14 +0000 (20:52 -0700)
commit15328d9feede450d64ff77cac5d25bc734ec8b27
treed12ad74962c0f63039d4e6ca84ba907a28f8dee0
parent85f6bd24ac579ef0926eb4c564ba1f3c8a7f8563
sctp: remove the typedef sctp_supported_ext_param_t

This patch is to remove the typedef sctp_supported_ext_param_t, and
replace with struct sctp_supported_ext_param 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