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

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