From: Akinobu Mita Date: Sat, 14 May 2016 05:55:47 +0000 (+0900) Subject: net: w5100: remove unused is_w5200() X-Git-Tag: v4.9.8~2112^2~34^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9f0cd94c1697ad6c98422a1953105c8ffc515f3;p=platform%2Fkernel%2Flinux-rpi3.git net: w5100: remove unused is_w5200() The is_w5200() function is not used anymore by the commit which adds the W5500 support. Signed-off-by: Akinobu Mita Cc: Mike Sinkovsky Cc: David S. Miller Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c index ec1889c..df0ba2b 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