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:
49d70c4
)
drivers/net: Removing undead ifdef CHELSIO_T1_1G
author
Christian Dietrich
<
[email protected]
>
Mon, 6 Sep 2010 04:36:25 +0000
(
04:36
+0000)
committer
David S. Miller
<
[email protected]
>
Tue, 7 Sep 2010 01:48:41 +0000
(18:48 -0700)
The CHELSIO_T1_1G ifdef isn't necessary at this point, because it is
checked in an outer ifdef level already and has no effect here.
Signed-off-by: Christian Dietrich <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/chelsio/subr.c
patch
|
blob
|
history
diff --git
a/drivers/net/chelsio/subr.c
b/drivers/net/chelsio/subr.c
index 599d178df62ddd0e1289369802c04c18921a1583..63ebf76d2390858ec10f2bf77cfce1439a87ffc5 100644
(file)
--- a/
drivers/net/chelsio/subr.c
+++ b/
drivers/net/chelsio/subr.c
@@
-314,14
+314,12
@@
static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr,
return 0;
}
-#if defined(CONFIG_CHELSIO_T1_1G)
static const struct mdio_ops mi1_mdio_ops = {
.init = mi1_mdio_init,
.read = mi1_mdio_read,
.write = mi1_mdio_write,
.mode_support = MDIO_SUPPORTS_C22
};
-#endif
#endif