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>
This commit is contained in:

committed by
David S. Miller

parent
05b25d0ba6
commit
8b32f2348a
@@ -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;
|
||||
|
Reference in New Issue
Block a user