summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-platform.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-09-05 13:17:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-05 13:23:28 +0200
commit6690986da1e21f3bebe1aaa54a70c636f40343b5 (patch)
tree09e49e96413226eda2c94e69576a0e52a6c10e8f /drivers/usb/host/ehci-platform.c
parent9e2bb70349fed75b15b9170bb1bff147a761fece (diff)
downloadlinux-6690986da1e21f3bebe1aaa54a70c636f40343b5.tar.bz2
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-platform.c')
-rw-r--r--drivers/usb/host/ehci-platform.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index 50491eea9409..fe497c876d76 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -53,8 +53,6 @@ struct ehci_platform_priv {
struct delayed_work poll_work;
};
-static const char hcd_name[] = "ehci-platform";
-
static int ehci_platform_reset(struct usb_hcd *hcd)
{
struct platform_device *pdev = to_platform_device(hcd->self.controller);