sctp: remove the typedef sctp_sender_hb_info_t
authorXin Long <lucien.xin@gmail.com>
Fri, 11 Aug 2017 02:23:46 +0000 (10:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 17:02:43 +0000 (10:02 -0700)
commitedf903f83ebca988e04a39f515ab6eacb92055df
treea87edf7bd43e1e57c39345509a2b1b012db33585
parentafa6c45429f6e5ddd1eb6b77a36358f9c4b789da
sctp: remove the typedef sctp_sender_hb_info_t

This patch is to remove the typedef sctp_sender_hb_info_t, and
replace with struct sctp_sender_hb_info 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/net/sctp/structs.h
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c