summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYuichi Ito <ito.yuichi0@gmail.com>2013-10-23 19:39:13 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-10-24 07:48:26 +0900
commite1e22073fb88fcb8d83c905361b2f23b94eba570 (patch)
treea70c1f4549bdca553d9f07ca5ae0e02b1b729837
parent6fe04218ce819dcc1d88f76331bfbf4555d4529e (diff)
packet lib: sctp: remove unnecessary __init__()
Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/packet/sctp.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/ryu/lib/packet/sctp.py b/ryu/lib/packet/sctp.py
index 258dd187..bf6bd094 100644
--- a/ryu/lib/packet/sctp.py
+++ b/ryu/lib/packet/sctp.py
@@ -1383,9 +1383,6 @@ class cause_unresolvable_addr(cause_with_value):
def cause_code(cls):
return CCODE_UNRESOLVABLE_ADDR
- def __init__(self, length, value):
- super(cause_unresolvable_addr, self).__init__(length, value)
-
@classmethod
def parser(cls, buf):
(_, length) = struct.unpack_from(cls._PACK_STR, buf)
@@ -1459,9 +1456,6 @@ class cause_invalid_param(cause):
def cause_code(cls):
return CCODE_INVALID_PARAM
- def __init__(self, length):
- super(cause_invalid_param, self).__init__(length)
-
@classmethod
def parser(cls, buf):
(_, length) = struct.unpack_from(cls._PACK_STR, buf)
@@ -1557,9 +1551,6 @@ class cause_cookie_while_shutdown(cause):
def cause_code(cls):
return CCODE_COOKIE_WHILE_SHUTDOWN
- def __init__(self, length):
- super(cause_cookie_while_shutdown, self).__init__(length)
-
@classmethod
def parser(cls, buf):
(_, length) = struct.unpack_from(cls._PACK_STR, buf)