diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2011-04-19 17:28:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-20 04:51:03 -0400 |
commit | 0b8f9e25b0aaf5a5d9fd844a97e5c17746b865d4 (patch) | |
tree | cc531084f434bc4602341f3144ee654a9a4af612 /include/net/sctp/constants.h | |
parent | 48669698c23339e0fa31753f04e77648fc210339 (diff) |
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 'include/net/sctp/constants.h')
-rw-r--r-- | include/net/sctp/constants.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index deac13dd8d02..942b864f6135 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h | |||
@@ -187,15 +187,14 @@ typedef enum { | |||
187 | /* SCTP state defines for internal state machine */ | 187 | /* SCTP state defines for internal state machine */ |
188 | typedef enum { | 188 | typedef enum { |
189 | 189 | ||
190 | SCTP_STATE_EMPTY = 0, | 190 | SCTP_STATE_CLOSED = 0, |
191 | SCTP_STATE_CLOSED = 1, | 191 | SCTP_STATE_COOKIE_WAIT = 1, |
192 | SCTP_STATE_COOKIE_WAIT = 2, | 192 | SCTP_STATE_COOKIE_ECHOED = 2, |
193 | SCTP_STATE_COOKIE_ECHOED = 3, | 193 | SCTP_STATE_ESTABLISHED = 3, |
194 | SCTP_STATE_ESTABLISHED = 4, | 194 | SCTP_STATE_SHUTDOWN_PENDING = 4, |
195 | SCTP_STATE_SHUTDOWN_PENDING = 5, | 195 | SCTP_STATE_SHUTDOWN_SENT = 5, |
196 | SCTP_STATE_SHUTDOWN_SENT = 6, | 196 | SCTP_STATE_SHUTDOWN_RECEIVED = 6, |
197 | SCTP_STATE_SHUTDOWN_RECEIVED = 7, | 197 | SCTP_STATE_SHUTDOWN_ACK_SENT = 7, |
198 | SCTP_STATE_SHUTDOWN_ACK_SENT = 8, | ||
199 | 198 | ||
200 | } sctp_state_t; | 199 | } sctp_state_t; |
201 | 200 | ||