]> git.baikalelectronics.ru Git - kernel.git/commit
net: sctp: sctp_outq: remove 'malloced' from its struct
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 16 Apr 2013 11:07:12 +0000 (11:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2013 18:13:02 +0000 (14:13 -0400)
commitd673bd4c5871d58acd0606922dafba9adc361456
tree556c9b4284952643f7f184088c9fe997ccc37eda
parentb37636f3e6d812d239d2bc44707d25774c2d82c2
net: sctp: sctp_outq: remove 'malloced' from its struct

sctp_outq is embedded into sctp_association, and thus never
kmalloced in any way. Also, malloced is always 0, thus kfree()
is never called. Therefore, remove that dead piece of code.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/outqueue.c