summaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-03 15:42:18 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-03 09:45:47 -0700
commit8b32f2348a0441ef202562618b13d1bb494f3a47 (patch)
treed72e4c4f0119ab2b30c83b71d69a2d020156458d /include/linux/sctp.h
parent05b25d0ba68d5b6d5d06f7c6cc3fec49ffa2df38 (diff)
downloadop-kernel-dev-8b32f2348a0441ef202562618b13d1bb494f3a47.zip
op-kernel-dev-8b32f2348a0441ef202562618b13d1bb494f3a47.tar.gz
sctp: remove the typedef sctp_addip_param_t
This patch is to remove the typedef sctp_addip_param_t, and replace with struct sctp_addip_param in the places where it's using this typedef. It is to use sizeof(variable) instead of sizeof(type), and also fix some indent problems. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 2a97639..5b7d6d9 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -629,10 +629,10 @@ struct sctp_fwdtsn_chunk {
* The ASCONF Parameter Response is used in the ASCONF-ACK to
* report status of ASCONF processing.
*/
-typedef struct sctp_addip_param {
- struct sctp_paramhdr param_hdr;
- __be32 crr_id;
-} sctp_addip_param_t;
+struct sctp_addip_param {
+ struct sctp_paramhdr param_hdr;
+ __be32 crr_id;
+};
typedef struct sctp_addiphdr {
__be32 serial;
OpenPOWER on IntegriCloud