diff options
| author | Sridhar Samudrala <sri@us.ibm.com> | 2004-12-26 18:51:01 -0800 |
|---|---|---|
| committer | Sridhar Samudrala <sri@us.ibm.com> | 2004-12-26 18:51:01 -0800 |
| commit | 3da25caccc4e293aada9c1f7130a98be64907c77 (patch) | |
| tree | 758a789fdc0b72c7081331756d1c8f209f661cfb /net/sctp/inqueue.c | |
| parent | feca988507f3e9b5cc27051197e890d9bbadc513 (diff) | |
[SCTP] Code cleanup: remove unused code and make needlessly global code static
Signed-off-by: Adrian Bunk <bunk@stutsa.de>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Diffstat (limited to 'net/sctp/inqueue.c')
| -rw-r--r-- | net/sctp/inqueue.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/sctp/inqueue.c b/net/sctp/inqueue.c index 2e83405b8be7..42811f828657 100644 --- a/net/sctp/inqueue.c +++ b/net/sctp/inqueue.c @@ -59,19 +59,6 @@ void sctp_inq_init(struct sctp_inq *queue) queue->malloced = 0; } -/* Create an initialized sctp_inq. */ -struct sctp_inq *sctp_inq_new(void) -{ - struct sctp_inq *retval; - - retval = t_new(struct sctp_inq, GFP_ATOMIC); - if (retval) { - sctp_inq_init(retval); - retval->malloced = 1; - } - return retval; -} - /* Release the memory associated with an SCTP inqueue. */ void sctp_inq_free(struct sctp_inq *queue) { |
