The is_w5200() function is not used anymore by the commit which adds the W5500 support.
Signed-off-by: Akinobu Mita <akinobu.m...@gmail.com> Cc: Mike Sinkovsky <ms...@permonline.ru> Cc: David S. Miller <da...@davemloft.net> --- * No changes from v1 drivers/net/ethernet/wiznet/w5100.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c index 8ed0c77..56ceed9 100644 --- a/drivers/net/ethernet/wiznet/w5100.c +++ b/drivers/net/ethernet/wiznet/w5100.c @@ -173,11 +173,6 @@ struct w5100_priv { struct work_struct restart_work; }; -static inline bool is_w5200(struct w5100_priv *priv) -{ - return priv->ops->chip_id == W5200; -} - /************************************************************************ * * Lowlevel I/O functions -- 2.7.4