diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-09-07 08:16:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-09 11:18:59 -0400 |
commit | f020979d5d7c9816c071d0aedf60a889fa4fae40 (patch) | |
tree | c7ce3ee514c55c752fed4a9b3e45063dbea9c413 /drivers/net/wireless/ath | |
parent | 7b6840ab5f836a18c4ea98173f73c8d046930efb (diff) |
ath9k: Remove unnecessary casting to u8 in pci_read_config_byte() call
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net/wireless/ath/ath9k/pci.c index 8bb286df71b1..8b288141d4c1 100644 --- a/drivers/net/wireless/ath/ath9k/pci.c +++ b/drivers/net/wireless/ath/ath9k/pci.c | |||
@@ -35,8 +35,7 @@ static void ath_pci_read_cachesize(struct ath_softc *sc, int *csz) | |||
35 | { | 35 | { |
36 | u8 u8tmp; | 36 | u8 u8tmp; |
37 | 37 | ||
38 | pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, | 38 | pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); |
39 | (u8 *)&u8tmp); | ||
40 | *csz = (int)u8tmp; | 39 | *csz = (int)u8tmp; |
41 | 40 | ||
42 | /* | 41 | /* |