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>
This commit is contained in:
parent
49d70c4856
commit
e04c4dc87c
1 changed files with 0 additions and 2 deletions
|
@ -314,14 +314,12 @@ static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_CHELSIO_T1_1G)
|
|
||||||
static const struct mdio_ops mi1_mdio_ops = {
|
static const struct mdio_ops mi1_mdio_ops = {
|
||||||
.init = mi1_mdio_init,
|
.init = mi1_mdio_init,
|
||||||
.read = mi1_mdio_read,
|
.read = mi1_mdio_read,
|
||||||
.write = mi1_mdio_write,
|
.write = mi1_mdio_write,
|
||||||
.mode_support = MDIO_SUPPORTS_C22
|
.mode_support = MDIO_SUPPORTS_C22
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Reference in a new issue