Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e04c4dc8 authored by Christian Dietrich's avatar Christian Dietrich Committed by David S. Miller
Browse files

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: default avatarChristian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 49d70c48
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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