aboutsummaryrefslogtreecommitdiffstats
path: root/net/wanrouter
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-06-22 07:47:27 -0700
committerRoland Dreier <rolandd@cisco.com>2006-06-22 07:47:27 -0700
commit9b8efc0242777353d5d62bfaa7766ebf0b5598b4 (patch)
treee4379663486936078e2631bc4204bb51d37b1ead /net/wanrouter
parent183208284e3ab3816189fc0e23faf29675ce6c9f (diff)
downloadkernel_samsung_espresso10-9b8efc0242777353d5d62bfaa7766ebf0b5598b4.zip
kernel_samsung_espresso10-9b8efc0242777353d5d62bfaa7766ebf0b5598b4.tar.gz
kernel_samsung_espresso10-9b8efc0242777353d5d62bfaa7766ebf0b5598b4.tar.bz2
IB/uverbs: Remove unnecessary list_del()s
In ib_uverbs_cleanup_ucontext(), when iterating through the lists of objects, there's no reason to do list_del() to remove the objects, since both the objects and the lists that contain them are about to be freed anyway. Since list_del() is a moderately big inline function, getting rid of this extra work saves quite a bit of .text: add/remove: 0/0 grow/shrink: 1/2 up/down: 3/-217 (-214) function old new delta ib_uverbs_comp_handler 225 228 +3 ib_uverbs_async_handler 256 255 -1 ib_uverbs_close 905 689 -216 Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions