Re: [PATCH] r8152: Remove unused function usb_ocp_read()

From: David Miller
Date: Thu May 18 2017 - 14:46:59 EST


From: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Date: Thu, 18 May 2017 10:45:33 -0700

> The function is not used, removing it fixes the following warning when
> building with clang:
>
> drivers/net/usb/r8152.c:825:5: error: unused function 'usb_ocp_read'
> [-Werror,-Wunused-function]
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

Applied to net-next.