summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-st.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-09-05 14:17:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 14:23:28 +0300
commit6690986da1e21f3bebe1aaa54a70c636f40343b5 (patch)
tree09e49e96413226eda2c94e69576a0e52a6c10e8f /drivers/usb/host/ehci-st.c
parent9e2bb70349fed75b15b9170bb1bff147a761fece (diff)
downloadlinux-6690986da1e21f3bebe1aaa54a70c636f40343b5.tar.xz
usb: clean up after dropping driver registration log spam
Drop another couple of pointless pr_info() calls, and drop a number of instances of hcd_name variables that are no longer referenced now that they are no longer printed to the log at driver registration time. Fixes: 10174220f55a ("usb: reduce kernel log spam on driver registration") Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20220905111740.352348-1-ardb@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-st.c')
-rw-r--r--drivers/usb/host/ehci-st.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-st.c b/drivers/usb/host/ehci-st.c
index 1086078133f8..f731dc98c533 100644
--- a/drivers/usb/host/ehci-st.c
+++ b/drivers/usb/host/ehci-st.c
@@ -42,8 +42,6 @@ struct st_ehci_platform_priv {
#define hcd_to_ehci_priv(h) \
((struct st_ehci_platform_priv *)hcd_to_ehci(h)->priv)
-static const char hcd_name[] = "ehci-st";
-
#define EHCI_CAPS_SIZE 0x10
#define AHB2STBUS_INSREG01 (EHCI_CAPS_SIZE + 0x84)