]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the typedef sctp_initack_chunk_t
authorXin Long <lucien.xin@gmail.com>
Sun, 23 Jul 2017 01:34:26 +0000 (09:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jul 2017 23:01:19 +0000 (16:01 -0700)
commit58ce87d3f5f880d2bc1bd6a46ac3ed44039880bb
treed5d8260832691acae71eb4dafd1b11a6bf096d1f
parentc122b93aff5fc1574825985649c8c0b19537fe6d
sctp: remove the typedef sctp_initack_chunk_t

This patch is to remove the typedef sctp_initack_chunk_t, and
replace with struct sctp_initack_chunk 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_statefuns.c