diff options
| author | Daniel Borkmann <[email protected]> | 2013-04-15 03:27:17 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-04-15 14:11:37 -0400 |
| commit | ff2266cddd69f5e0c9d5121ed9218d2f694406cc (patch) | |
| tree | f8d3a419ff1413613a1f05d790cac7dffc75dbc4 /include/linux/debugobjects.h | |
| parent | 1e8edc2ab35da30b08b008c26822ec956052bf4b (diff) | |
net: sctp: remove sctp_ep_common struct member 'malloced'
There is actually no need to keep this member in the structure, because
after init it's always 1 anyway, thus always kfree called. This seems to
be an ancient leftover from the very initial implementation from 2.5
times. Only in case the initialization of an association fails, we leave
base.malloced as 0, but we nevertheless kfree it in the error path in
sctp_association_new().
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Vlad Yasevich <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions