usb: ehci-omap: drop unused ehci_read() function
authorArnd Bergmann <arnd@arndb.de>
Thu, 28 Apr 2022 10:22:58 +0000 (12:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 19:53:18 +0000 (21:53 +0200)
commit0cb46f8c7c72cb56badcf1f6b5f0ba1138a0f98c
treec55310479935ba40b34cb540c01b3664fd5d6ef1
parentd7c90d9f9a5b6a85c09d37c5616d880d849a0c8b
usb: ehci-omap: drop unused ehci_read() function

After moving the omap1 platform into generalized multiplatform
support on ARM, the kernel test robot points out a W=1 warning that
now shows up in more configurations:

drivers/usb/host/ehci-omap.c:64:19: warning: unused function 'ehci_read'

The function was last used 9 years ago and can just be removed.

Fixes: 87425ad36330 ("USB: ehci-omap: Remove PHY reset handling code")
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20220428102314.950323-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c