summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/cxgb4/provider.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-10 06:29:08 +0300
committerJiri Kosina <jkosina@suse.cz>2010-12-10 17:14:43 +0300
commit504499f22c08a03e2e19dc88d31aa0ecd2ac815e (patch)
tree9cbd803c228103b37006ab2427981db8d7f66ab0 /drivers/infiniband/hw/cxgb4/provider.c
parenta3789a1783d37f2772ba5046b26416c98dfe1bfa (diff)
downloadlinux-504499f22c08a03e2e19dc88d31aa0ecd2ac815e.tar.xz
HID: simplify an index check in hid_lookup_collection
Save the struct hid_collection * in a temporary to shorten the generated code a bit and perhaps improve readability. $ size drivers/hid/hid-core.o* text data bss dec hex filename 16460 78 8 16546 40a2 drivers/hid/hid-core.o.new 16469 78 8 16555 40ab drivers/hid/hid-core.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/provider.c')
0 files changed, 0 insertions, 0 deletions