diff options
author | Florian Westphal <fw@strlen.de> | 2008-03-24 01:47:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 01:47:08 -0400 |
commit | 80445cfb28a6b093540582b68d9ae928bf34cfe7 (patch) | |
tree | 67b3cdcc8af6b7f74c82d70727880f0571f8ecba /include/net/sctp/structs.h | |
parent | 2444844cefd2ce0ac73858cf980de07e33a5dd20 (diff) |
[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>
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 8966599ddb9f..0ce0443c5b79 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -637,8 +637,6 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *, | |||
637 | struct sctp_sndrcvinfo *, | 637 | struct sctp_sndrcvinfo *, |
638 | struct msghdr *, int len); | 638 | struct msghdr *, int len); |
639 | void sctp_datamsg_put(struct sctp_datamsg *); | 639 | void sctp_datamsg_put(struct sctp_datamsg *); |
640 | void sctp_datamsg_free(struct sctp_datamsg *); | ||
641 | void sctp_datamsg_track(struct sctp_chunk *); | ||
642 | void sctp_chunk_fail(struct sctp_chunk *, int error); | 640 | void sctp_chunk_fail(struct sctp_chunk *, int error); |
643 | int sctp_chunk_abandoned(struct sctp_chunk *); | 641 | int sctp_chunk_abandoned(struct sctp_chunk *); |
644 | 642 | ||