net: w5100: remove unused is_w5200()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 14 May 2016 05:55:47 +0000 (14:55 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:55:48 +0000 (13:55 -0400)
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>
drivers/net/ethernet/wiznet/w5100.c

index ec1889ce38a384f1311286c5835f61bc1f26bf40..df0ba2b2b93a2e5dd9532ddd5ce3b7caa72c3a43 100644 (file)
@@ -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