[PATCH] bcm43xx: Janitorial change - remove two unused variables
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 3 Feb 2007 19:34:20 +0000 (13:34 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Feb 2007 20:45:03 +0000 (15:45 -0500)
Two bit-field values are extracted from the sprom data and never used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx.h
drivers/net/wireless/bcm43xx/bcm43xx_main.c

index 4168b1a807ef4a4b4902f4cb7327b114142fddf9..7e3f4b878c81bffa19976bce129d34e46a927028 100644 (file)
@@ -503,8 +503,6 @@ struct bcm43xx_sprominfo {
        u8 et1macaddr[6];
        u8 et0phyaddr:5;
        u8 et1phyaddr:5;
-       u8 et0mdcport:1;
-       u8 et1mdcport:1;
        u8 boardrev;
        u8 locale:4;
        u8 antennas_aphy:2;
index 63fc16f6e58425d8f3f53dc2f1598df0cd52057c..18a342119fe89ae9dc67a0edf6eac3b77c9a4e09 100644 (file)
@@ -851,8 +851,6 @@ static int bcm43xx_sprom_extract(struct bcm43xx_private *bcm)
        value = sprom[BCM43xx_SPROM_ETHPHY];
        bcm->sprom.et0phyaddr = (value & 0x001F);
        bcm->sprom.et1phyaddr = (value & 0x03E0) >> 5;
-       bcm->sprom.et0mdcport = (value & (1 << 14)) >> 14;
-       bcm->sprom.et1mdcport = (value & (1 << 15)) >> 15;
 
        /* boardrev, antennas, locale */
        value = sprom[BCM43xx_SPROM_BOARDREV];