uwb: don't use printk_ratelimit() so often
Avoid using printk_ratelimit() in many places because: - many were error messages reporting broken hardware (it's useful to get all of these). - the message itself wasn't useful so the message has been removed. Signed-off-by: David Vrabel <david.vrabel@csr.com>
This commit is contained in:
@@ -440,7 +440,7 @@ static void uwb_rc_neh_grok_event(struct uwb_rc *rc, struct uwb_rceb *rceb, size
|
||||
neh = uwb_rc_neh_lookup(rc, rceb);
|
||||
if (neh)
|
||||
uwb_rc_neh_cb(neh, rceb, size);
|
||||
else if (printk_ratelimit())
|
||||
else
|
||||
dev_warn(dev, "event 0x%02x/%04x/%02x (%zu bytes): nobody cared\n",
|
||||
rceb->bEventType, le16_to_cpu(rceb->wEvent),
|
||||
rceb->bEventContext, size);
|
||||
|
Reference in New Issue
Block a user