summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2007-09-29 07:42:10 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:53:52 +0200
commit13f7b8c011cd8d16ad3063409b9d969466c9e2f4 (patch)
tree216a595c7517e76525ac306a47c7ef08e833d3d0 /drivers
parentAvoid possible NULL pointer deref in 3c359 driver (diff)
downloadlinux-13f7b8c011cd8d16ad3063409b9d969466c9e2f4.tar.xz
linux-13f7b8c011cd8d16ad3063409b9d969466c9e2f4.zip
skge: remove broken and unused PHY_M_PC_MDI_XMODE macro
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/skge.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h
index dd0fd45c7155..1a57bdd1ddf1 100644
--- a/drivers/net/skge.h
+++ b/drivers/net/skge.h
@@ -1351,8 +1351,6 @@ enum {
PHY_M_PC_EN_DET_PLUS = 3<<8, /* Energy Detect Plus (Mode 2) */
};
-#define PHY_M_PC_MDI_XMODE(x) ((((u16)(x)<<5) & PHY_M_PC_MDIX_MSK)
-
enum {
PHY_M_PC_MAN_MDI = 0, /* 00 = Manual MDI configuration */
PHY_M_PC_MAN_MDIX = 1, /* 01 = Manual MDIX configuration */