[SCTP]: Remove redundant wrapper functions.
sctp_datamsg_free and sctp_datamsg_track are just aliases for sctp_datamsg_put and sctp_chunk_hold, respectively. Saves 32 Bytes on x86. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2444844cef
commit
80445cfb28
@@ -637,8 +637,6 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *,
|
||||
struct sctp_sndrcvinfo *,
|
||||
struct msghdr *, int len);
|
||||
void sctp_datamsg_put(struct sctp_datamsg *);
|
||||
void sctp_datamsg_free(struct sctp_datamsg *);
|
||||
void sctp_datamsg_track(struct sctp_chunk *);
|
||||
void sctp_chunk_fail(struct sctp_chunk *, int error);
|
||||
int sctp_chunk_abandoned(struct sctp_chunk *);
|
||||
|
||||
|
Reference in New Issue
Block a user