[SCTP]: Remove sctp_add_cmd_sf wrapper bloat
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Fri, 28 Mar 2008 00:54:29 +0000 (17:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Mar 2008 00:54:29 +0000 (17:54 -0700)
commitbc09dff198e67a98a82c42000006b39f6d502031
treeb171eba795f04956020cbbe73ce2cc56b58cf34b
parent419ae74ecc9494e58928a5c6652f4c072f3ca744
[SCTP]: Remove sctp_add_cmd_sf wrapper bloat

With a was number of callsites sctp_add_cmd_sf wrapper bloats
kernel by some amount. Due to unlikely tracking allyesconfig,
with the initial result were around ~7kB (thus caught my
attention) while a non-debug config produced only ~2.3kB effect.

I (ij) proposed first a patch to uninline it but Vlad responded
with a patch that removed the only sctp_add_cmd call which is
wrapped by sctp_add_cmd_sf (I wasn't sure if I could do that).
I did minor cleanup to Vlad's patch.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/command.h
include/net/sctp/sm.h
net/sctp/command.c
net/sctp/sm_statefuns.c