From: Mariusz Kozlowski Date: Sat, 29 Sep 2007 05:42:10 +0000 (-0700) Subject: skge: remove broken and unused PHY_M_PC_MDI_XMODE macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13f7b8c011cd8d16ad3063409b9d969466c9e2f4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git skge: remove broken and unused PHY_M_PC_MDI_XMODE macro Signed-off-by: Mariusz Kozlowski Cc: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/skge.h b/drivers/net/skge.h index dd0fd45c715..1a57bdd1ddf 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 */