sctp: remove the typedef sctp_data_chunk_t
This patch is to remove the typedef sctp_data_chunk_t, and replace with struct sctp_data_chunk in the places where it's using this typedef. 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
3583df1a3d
commit
9f8d314715
@@ -152,7 +152,7 @@ SCTP_SUBTYPE_CONSTRUCTOR(PRIMITIVE, sctp_event_primitive_t, primitive)
|
||||
/* Calculate the actual data size in a data chunk */
|
||||
#define SCTP_DATA_SNDSIZE(c) ((int)((unsigned long)(c->chunk_end)\
|
||||
- (unsigned long)(c->chunk_hdr)\
|
||||
- sizeof(sctp_data_chunk_t)))
|
||||
- sizeof(struct sctp_data_chunk)))
|
||||
|
||||
/* Internal error codes */
|
||||
typedef enum {
|
||||
|
Reference in New Issue
Block a user