From: Ivo van Doorn Date: Sat, 27 Oct 2007 11:42:18 +0000 (+0200) Subject: rt2x00: Remove unused variables X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=50794638dc8bcd94b48b10b8bf4381f1049f93cf;p=deliverable%2Flinux.git rt2x00: Remove unused variables With the updated antenna setup the following variables are no longer used. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 5fd109a99cf2..a38a96230eca 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c @@ -527,11 +527,9 @@ static void rt61pci_config_antenna_2529_rx(struct rt2x00_dev *rt2x00dev, static void rt61pci_config_antenna_2529(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant) { - u16 eeprom; u8 r3; u8 r4; u8 r77; - u8 rx_ant; rt61pci_bbp_read(rt2x00dev, 3, &r3); rt61pci_bbp_read(rt2x00dev, 4, &r4);