Re: [PATCH] net: jme: Remove unused functions

From: David Miller
Date: Thu May 25 2017 - 12:59:46 EST


From: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
Date: Tue, 23 May 2017 17:27:51 -0700

> The functions jme_restart_tx_engine(), jme_pause_rx() and
> jme_resume_rx() are not used. Removing them fixes the following warnings
> when building with clang:
>
> drivers/net/ethernet/jme.c:694:1: error: unused function
> 'jme_restart_tx_engine' [-Werror,-Wunused-function]
>
> drivers/net/ethernet/jme.c:2393:20: error: unused function
> 'jme_pause_rx' [-Werror,-Wunused-function]
>
> drivers/net/ethernet/jme.c:2406:20: error: unused function
> 'jme_resume_rx' [-Werror,-Wunused-function]
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

Applied to net-next.