From 4794a8ae7f94adb550f34adc7c6460f801b8f41c Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 7 Apr 2008 12:23:54 +0200 Subject: [miiphy]: fix compiler warning --- drivers/net/miiphy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/net') diff --git a/drivers/net/miiphy.c b/drivers/net/miiphy.c index 126d0b8032..9c2ad30e3f 100644 --- a/drivers/net/miiphy.c +++ b/drivers/net/miiphy.c @@ -46,9 +46,7 @@ int miiphy_restart_aneg(struct miiphy_device *mdev) do { /* wait for link status to go down */ udelay(10000); if ((timeout--) == 0) { -#if (DEBUG & 0x2) - printf("hmmm, should not have waited..."); -#endif + debug("hmmm, should not have waited..."); break; } mdev->read(mdev, mdev->address, MII_BMSR, &status); -- cgit v1.2.3