OSDN Git Service

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

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