sctp: remove the typedef sctp_errhdr_t
This patch is to remove the typedef sctp_errhdr_t, and replace with struct sctp_errhdr 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>
Showing
- include/linux/sctp.h 3 additions, 3 deletionsinclude/linux/sctp.h
- include/net/sctp/sctp.h 4 additions, 4 deletionsinclude/net/sctp/sctp.h
- net/sctp/sm_make_chunk.c 20 additions, 18 deletionsnet/sctp/sm_make_chunk.c
- net/sctp/sm_sideeffect.c 1 addition, 1 deletionnet/sctp/sm_sideeffect.c
- net/sctp/sm_statefuns.c 15 additions, 14 deletionsnet/sctp/sm_statefuns.c
- net/sctp/ulpevent.c 5 additions, 5 deletionsnet/sctp/ulpevent.c
Loading
Please register or sign in to comment