]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the typedef sctp_shutdownhdr_t
authorXin Long <lucien.xin@gmail.com>
Thu, 3 Aug 2017 07:42:09 +0000 (15:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:45:46 +0000 (09:45 -0700)
commit4b3e2a6d52902761de709106b2bf50650cb7c5f0
tree75bb8e2605edf5e479f09379316534ab63014d56
parentd69f055bd1f377922900b351ed360bcece654662
sctp: remove the typedef sctp_shutdownhdr_t

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