HID: sensors: remove some unneeded checks
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Sep 2012 06:53:46 +0000 (06:53 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 18 Sep 2012 20:50:44 +0000 (21:50 +0100)
commit24db0d75d3666b2aa5950a8bec0c1898929f2945
tree629d27c8cc674b9dc525ae80d0d8cfcd4c356a93
parent2b7c4b8e3edfd109a8423ff593a12a5fe09615b2
HID: sensors: remove some unneeded checks

"report_id" is unsigned so it's never less than zero.  These checks can
be removed without any problem.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/hid/hid-sensor-hub.c