Re: [PATCH] usb: ehci-omap: drop unused ehci_read() function

From: Alan Stern
Date: Thu Apr 28 2022 - 14:08:28 EST


On Thu, Apr 28, 2022 at 12:22:58PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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@xxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>