summaryrefslogtreecommitdiffstats
path: root/net/sctp/debug.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2011-04-19 21:28:26 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-20 01:51:03 -0700
commit0b8f9e25b0aaf5a5d9fd844a97e5c17746b865d4 (patch)
treecc531084f434bc4602341f3144ee654a9a4af612 /net/sctp/debug.c
parent48669698c23339e0fa31753f04e77648fc210339 (diff)
downloadlinux-0b8f9e25b0aaf5a5d9fd844a97e5c17746b865d4.tar.bz2
sctp: remove completely unsed EMPTY state
SCTP does not SCTP_STATE_EMPTY and we can never be in that state. Remove useless code. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/debug.c')
-rw-r--r--net/sctp/debug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/debug.c b/net/sctp/debug.c
index bf24fa697de2..ec997cfe0a7e 100644
--- a/net/sctp/debug.c
+++ b/net/sctp/debug.c
@@ -98,7 +98,6 @@ const char *sctp_cname(const sctp_subtype_t cid)
/* These are printable forms of the states. */
const char *const sctp_state_tbl[SCTP_STATE_NUM_STATES] = {
- "STATE_EMPTY",
"STATE_CLOSED",
"STATE_COOKIE_WAIT",
"STATE_COOKIE_ECHOED",