From: Jiri Kosina Date: Fri, 30 Nov 2007 10:12:58 +0000 (+0100) Subject: HID: remove redundant WARN_ON()s in order not to scare users X-Git-Tag: v2.6.25-rc1~1170^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4124c9b68bf8ecf1e8afedad3a22e18666cb6f3;p=pandora-kernel.git HID: remove redundant WARN_ON()s in order not to scare users The WARN_ON() in implement() and extract() spit out stacktraces and a lot of other information that might make users think that there is something seriously wrong with the system. WARN_ON() should not be deliberately triggerable by userspace application, which these can be. Usually this WARN_ON() triggers when hid2hci utility is sending the data that don't correspond to the device's report descriptor. Convert these messages to more friendly printk(). Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed