From: Joe Perches Date: Fri, 10 Dec 2010 03:29:08 +0000 (-0800) Subject: HID: simplify an index check in hid_lookup_collection X-Git-Tag: v2.6.38-rc1~442^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504499f22c08a03e2e19dc88d31aa0ecd2ac815e;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed