remove ar5416GetInterrupts
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 09:07:35 +0000 (11:07 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:10:08 +0000 (16:10 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c

index eac8118d240f12053fd9681acf17dcf1295db421..606058e9f8fff8ac107919c97ef2c893f5cc78f0 100755 (executable)
@@ -460,7 +460,6 @@ struct ath_hal
        /* Interrupt functions */
        HAL_BOOL  __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
        HAL_BOOL  __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
-       HAL_INT   __ahdecl(*ah_getInterrupts)(struct ath_hal*);
        HAL_INT   __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
 };
 
index 7c271ce679fcba14f119e152fa0af6abf18cab9f..fcec3bfad28b19c1fdea6404fcc7fa55dd21852a 100644 (file)
@@ -77,7 +77,6 @@ static const struct ath_hal_private ar5416hal_10 = {{
                /* Interrupt Functions */
                .ah_isInterruptPending   = ar5416IsInterruptPending,
                .ah_getPendingInterrupts = ar5416GetPendingInterrupts,
-               .ah_getInterrupts        = ar5416GetInterrupts,
                .ah_setInterrupts        = ar5416SetInterrupts,
        },
 };
@@ -222,11 +221,6 @@ HAL_BOOL ar5416GetPendingInterrupts(struct ath_hal *ah, HAL_INT *masked)
        return AH_TRUE;
 }
 
-HAL_INT ar5416GetInterrupts(struct ath_hal *ah)
-{
-       return AH5416(ah)->ah_maskReg;
-}
-
 HAL_INT
 ar5416SetInterrupts(struct ath_hal *ah, HAL_INT ints)
 {