Skip to content

Commit

Permalink
drivers/net: Removing undead ifdef CHELSIO_T1_1G
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Dietrich authored and David S. Miller committed Sep 7, 2010
1 parent 49d70c4 commit e04c4dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/chelsio/subr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e04c4dc

Please sign in to comment.