summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/wiznet
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2016-05-14 14:55:47 +0900
committerDavid S. Miller <davem@davemloft.net>2016-05-16 13:55:48 -0400
commite9f0cd94c1697ad6c98422a1953105c8ffc515f3 (patch)
treed9086bf78918ca81e4d81ac13268bf24ae67292d /drivers/net/ethernet/wiznet
parentb0456b24ff4c8f408feaf97ea465897672bb1ac1 (diff)
downloadlinux-e9f0cd94c1697ad6c98422a1953105c8ffc515f3.tar.bz2
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 <akinobu.mita@gmail.com> Cc: Mike Sinkovsky <msink@permonline.ru> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/wiznet')
-rw-r--r--drivers/net/ethernet/wiznet/w5100.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/wiznet/w5100.c b/drivers/net/ethernet/wiznet/w5100.c
index ec1889ce38a3..df0ba2b2b93a 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