summaryrefslogtreecommitdiffstats
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorSimon Wunderlich2010-01-02 11:30:39 +0100
committerGreg Kroah-Hartman2010-03-04 01:42:35 +0100
commitb6c359767bc743a7b6830660daa8f7e5c4273ad8 (patch)
tree103f486f27d4e9b586480272b2edffd61eebe34c /include/linux/usb.h
parentStaging: batman-adv: Replace KERN_DEBUG with bat_dbg (diff)
downloadkernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.tar.gz
kernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.tar.xz
kernel-qcow2-linux-b6c359767bc743a7b6830660daa8f7e5c4273ad8.zip
Staging: batman-adv: initialize static hash iterators
instead of dynamically registering hash iterators, calling functions are changed to register the iterator objects statically. The two advantages are: * no memory leaks when aborting from hash_iterate() * no calls to kmalloc/kfree, therefore a little faster/safer Tested with 9 QEMU instances, no obvious regression found. Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions