remove unused variable in ah_setupRxDesc
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 18:56:20 +0000 (20:56 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 19:27:33 +0000 (21:27 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.h
target_firmware/wlan/ar5416_hw.c
target_firmware/wlan/ar5416desc.h
target_firmware/wlan/if_ath.c

index e391a9d41808f3d6a154273d9b5291d4d9d56540..7b4037876a5bcc06d9e8845d0a165b602e71a933 100755 (executable)
@@ -439,7 +439,7 @@ struct ath_hal
            
        /* Target receive Functions */
        void       __ahdecl(*ah_setRxDP)(struct ath_hal*, a_uint32_t rxdp);
-       HAL_BOOL  __ahdecl(*ah_setupRxDesc)(struct ath_hal *, struct ath_rx_desc *,
+       HAL_BOOL  __ahdecl(*ah_setupRxDesc)(struct ath_rx_desc *,
                                            a_uint32_t size, a_uint32_t flags);
        HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *, struct ath_desc *,
                                            a_uint32_t phyAddr, struct ath_desc *next, u_int64_t tsf);
index 9959ac3cc6b8cc42ab28c218f1f0914cdd6b2d95..12addf95b8154a0377d5cc525556550feff772e4 100644 (file)
@@ -329,7 +329,7 @@ void ar5416StopPcuReceive(struct ath_hal *ah)
        OS_REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS);
 }
 
-HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *ah, struct ath_rx_desc *ds,
+HAL_BOOL ar5416SetupRxDesc_20(struct ath_rx_desc *ds,
                              a_uint32_t size, a_uint32_t flags)
 {
        struct ar5416_desc *ads = AR5416DESC(ds);
index fe2d5618dbd8bbcb84494f6c3fc4b4b797f15ed9..9406b64a363b28cc11b500f6d6b98a5ccd2fa0c3 100755 (executable)
@@ -486,8 +486,8 @@ extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc
        a_uint32_t burstDuration);
 extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds,
        a_uint32_t vmf);
-extern  HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *,
-        struct ath_rx_desc *, a_uint32_t size, a_uint32_t flags);
+extern  HAL_BOOL ar5416SetupRxDesc_20(struct ath_rx_desc *,
+                                                                         a_uint32_t size, a_uint32_t flags);
 extern  HAL_STATUS ar5416ProcRxDescFast_20(struct ath_hal *ah, 
                                            struct ath_rx_desc *, a_uint32_t,
                                            struct ath_desc *,
index aa43c23238ddd417ae894bc686adceaaff631e01..8cbda3b2674891446718a842ede4c8016b7aff54 100755 (executable)
@@ -255,9 +255,7 @@ static a_int32_t ath_rxdesc_init(struct ath_softc_tgt *sc, struct ath_rx_desc *d
        ds->ds_link = 0;
        adf_nbuf_peek_header(ds->ds_nbuf, &anbdata, &anblen);
 
-       ah->ah_setupRxDesc(ah, ds,
-                           adf_nbuf_tailroom(ds->ds_nbuf),
-                           0);
+       ah->ah_setupRxDesc(ds, adf_nbuf_tailroom(ds->ds_nbuf), 0);
 
        if (sc->sc_rxlink == NULL) {
                ah->ah_setRxDP(ah, ds->ds_daddr);