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

This patch is to remove the typedef sctp_auth_chunk_t, and
replace with struct sctp_auth_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/chunk.c
net/sctp/sm_statefuns.c