* [PATCH 06/14] drivers/net: Removing undead ifdef CHELSIO_T1_1G [not found] <cover.1283782698.git.qy03fugy@stud.informatik.uni-erlangen.de> @ 2010-09-06 14:36 ` Christian Dietrich 2010-09-07 1:39 ` David Miller 0 siblings, 1 reply; 2+ messages in thread From: Christian Dietrich @ 2010-09-06 14:36 UTC (permalink / raw) To: David S. Miller, Roland Dreier, Alexey Dobriyan, Joe Perches, netdev, linux-kernel Cc: vamos-dev 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> --- drivers/net/chelsio/subr.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) 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 -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 06/14] drivers/net: Removing undead ifdef CHELSIO_T1_1G 2010-09-06 14:36 ` [PATCH 06/14] drivers/net: Removing undead ifdef CHELSIO_T1_1G Christian Dietrich @ 2010-09-07 1:39 ` David Miller 0 siblings, 0 replies; 2+ messages in thread From: David Miller @ 2010-09-07 1:39 UTC (permalink / raw) To: qy03fugy; +Cc: rolandd, adobriyan, joe, netdev, linux-kernel, vamos-dev From: Christian Dietrich <qy03fugy@stud.informatik.uni-erlangen.de> Date: Mon, 6 Sep 2010 16:36:25 +0200 > 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> Applied. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-07 1:39 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <cover.1283782698.git.qy03fugy@stud.informatik.uni-erlangen.de> 2010-09-06 14:36 ` [PATCH 06/14] drivers/net: Removing undead ifdef CHELSIO_T1_1G Christian Dietrich 2010-09-07 1:39 ` David Miller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).