wireless: Remove casts to same type
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / eeprom_4k.c
index 4322ac80c203c1dfc6762f7f8547c73fbf3af7b3..92543d166fe9bfff85b322f81754c798126136b4 100644 (file)
@@ -188,8 +188,7 @@ static int ath9k_hw_4k_check_eeprom(struct ath_hw *ah)
 {
 #define EEPROM_4K_SIZE (sizeof(struct ar5416_eeprom_4k) / sizeof(u16))
        struct ath_common *common = ath9k_hw_common(ah);
-       struct ar5416_eeprom_4k *eep =
-               (struct ar5416_eeprom_4k *) &ah->eeprom.map4k;
+       struct ar5416_eeprom_4k *eep = &ah->eeprom.map4k;
        u16 *eepdata, temp, magic, magic2;
        u32 sum = 0, el;
        bool need_swap = false;
This page took 0.024046 seconds and 5 git commands to generate.