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>
This commit is contained in:
Yuichi Ito 2013-10-23 19:39:13 +09:00 committed by FUJITA Tomonori
parent 6fe04218ce
commit e1e22073fb

View File

@ -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)