From: Christian Dietrich Date: Mon, 6 Sep 2010 04:36:25 +0000 (+0000) Subject: drivers/net: Removing undead ifdef CHELSIO_T1_1G X-Git-Tag: upstream/snapshot3+hdmi~12689^2~538 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e04c4dc87c4af296982ff44123e064d483e826c4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/chelsio/subr.c b/drivers/net/chelsio/subr.c index 599d178..63ebf76 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