sctp: kill unused macros in head file
authorShan Wei <shanwei@cn.fujitsu.com>
Mon, 29 Nov 2010 00:14:58 +0000 (00:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2010 17:41:12 +0000 (09:41 -0800)
commit49b4a6546fac02f58784f0744e0f99a6562ccc03
tree69504924d37630618d9b20cf699af7a0cf8db021
parente9248fbd6b6f7ef1917bfffe998654e40dfb4cfd
sctp: kill unused macros in head file

1. SCTP_CMD_NUM_VERBS,SCTP_CMD_MAX
These two macros have never been used for several years since v2.6.12-rc2.

2.sctp_port_rover,sctp_port_alloc_lock
The commit 063930 abandoned global variables of port_rover and port_alloc_lock,
but still keep two macros to refer to them.
So, remove them now.

commit 06393009000779b00a558fd2f280882cc7dc2008
Author: Stephen Hemminger <shemminger@linux-foundation.org>
Date:   Wed Oct 10 17:30:18 2007 -0700

    [SCTP]: port randomization

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/command.h
include/net/sctp/structs.h