HID: simplify error handling in hid_input_report()
authorJiri Kosina <jkosina@suse.cz>
Thu, 18 Mar 2010 13:11:53 +0000 (14:11 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 18 Mar 2010 13:11:53 +0000 (14:11 +0100)
commitf77e347bd44e3640bdc56003b7402c63ddb1241d
tree70f082beb8e4696cc69f44a0f03636201e6ea0ec
parent1caea61eda5c4d446147aa0e712ba395bb6b81c3
HID: simplify error handling in hid_input_report()

The handling of failed debugging buffer allocation got overly
complicated. We simply want to skip the debugging code if allocation
fails and go on with event processing.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c