summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/subr.c
diff options
context:
space:
mode:
authorChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>2010-09-06 06:36:25 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-07 03:48:41 +0200
commite04c4dc87c4af296982ff44123e064d483e826c4 (patch)
tree55d84e2cafac312075dc2089611bc94d0ee3a8bc /drivers/net/chelsio/subr.c
parentdrivers/net/jme: Use pr_<level> (diff)
downloadlinux-e04c4dc87c4af296982ff44123e064d483e826c4.tar.xz
linux-e04c4dc87c4af296982ff44123e064d483e826c4.zip
drivers/net: Removing undead ifdef CHELSIO_T1_1G
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 <qy03fugy@stud.informatik.uni-erlangen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/chelsio/subr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c
index 599d178df62d..63ebf76d2390 100644
--- 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