rtl8xxxu: Reduce console noise when removing the kernel module
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 23 Jun 2016 18:35:53 +0000 (14:35 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Jul 2016 09:54:24 +0000 (12:54 +0300)
USB urbs will return with a status != 0 when rmmod'ing the driver. No
need to fill the log with messages from rtl8xxxu_int_complete()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c

index 9f6dbb4..cfa5528 100644 (file)
@@ -5267,7 +5267,7 @@ static void rtl8xxxu_int_complete(struct urb *urb)
                if (ret)
                        usb_unanchor_urb(urb);
        } else {
-               dev_info(dev, "%s: Error %i\n", __func__, urb->status);
+               dev_dbg(dev, "%s: Error %i\n", __func__, urb->status);
        }
 }