From e1e22073fb88fcb8d83c905361b2f23b94eba570 Mon Sep 17 00:00:00 2001 From: Yuichi Ito Date: Wed, 23 Oct 2013 19:39:13 +0900 Subject: [PATCH] packet lib: sctp: remove unnecessary __init__() Signed-off-by: Yuichi Ito Signed-off-by: FUJITA Tomonori --- ryu/lib/packet/sctp.py | 9 --------- 1 file changed, 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)