From: Chen Xingdi Date: Wed, 27 Jul 2022 03:11:46 +0000 (+0800) Subject: usb: renesas-xhci: Do not print any log while fw verif success X-Git-Tag: v6.1-rc5~724^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2d0dd5155c437ec5aad2141d74a8fac97ef755f;p=platform%2Fkernel%2Flinux-starfive.git usb: renesas-xhci: Do not print any log while fw verif success When drivers are working properly, they should be quiet. Signed-off-by: Chen Xingdi Link: https://lore.kernel.org/r/20220727031146.19345-1-chenxingdi@huawei.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-pci-renesas.c b/drivers/usb/host/xhci-pci-renesas.c index 52599d9..93f8b35 100644 --- a/drivers/usb/host/xhci-pci-renesas.c +++ b/drivers/usb/host/xhci-pci-renesas.c @@ -120,7 +120,6 @@ static int renesas_fw_verify(const void *fw_data, size_t length) { u16 fw_version_pointer; - u16 fw_version; /* * The Firmware's Data Format is describe in @@ -150,9 +149,6 @@ static int renesas_fw_verify(const void *fw_data, return -EINVAL; } - fw_version = get_unaligned_le16(fw_data + fw_version_pointer); - pr_err("got firmware version: %02x.", fw_version); - return 0; }