projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0456b2
)
net: w5100: remove unused is_w5200()
author
Akinobu Mita
<
[email protected]
>
Sat, 14 May 2016 05:55:47 +0000
(14:55 +0900)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Cc: Mike Sinkovsky <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/wiznet/w5100.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/wiznet/w5100.c
b/drivers/net/ethernet/wiznet/w5100.c
index ec1889ce38a384f1311286c5835f61bc1f26bf40..df0ba2b2b93a2e5dd9532ddd5ce3b7caa72c3a43 100644
(file)
--- 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