remove unused variables in ah_set11nTxDesc
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:04:46 +0000 (22:04 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 20:04:46 +0000 (22:04 +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_owl.c

index c5769b76fd4f1a1238e5b5b3c1afaeab32470bc2..6e97dfa2a05618f4a3f79a057ec74076fae2a86d 100755 (executable)
@@ -389,8 +389,7 @@ struct ath_hal
            
        HAL_BOOL  __ahdecl(*ah_abortTxDma)(struct ath_hal *);
            
-       void      __ahdecl(*ah_set11nTxDesc)(struct ath_hal *ah,
-                                            struct ath_tx_desc *ds,
+       void      __ahdecl(*ah_set11nTxDesc)(struct ath_tx_desc *ds,
                                             a_uint32_t pktLen, HAL_PKT_TYPE type,
                                             a_uint32_t txPower, a_uint32_t keyIx,
                                             HAL_KEY_TYPE keyType,
index da540cb1114c257e6c320caa0c4e45eceaa0cff3..089f4f62a63f3661c994f069e5873d0329edaaff 100644 (file)
@@ -777,7 +777,7 @@ HAL_STATUS ar5416ProcTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *gds)
         return HAL_OK;
 }
 
-void ar5416Set11nTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+void ar5416Set11nTxDesc_20(struct ath_tx_desc *ds,
                           a_uint32_t pktLen, HAL_PKT_TYPE type, a_uint32_t txPower,
                           a_uint32_t keyIx, HAL_KEY_TYPE keyType,
                           a_uint32_t flags)
index aabdabbbc4d969f0f87be1d17d465e4dac165c9d..30a7be2dfc6792d9848f1394525a32f3db7157e5 100755 (executable)
@@ -469,7 +469,7 @@ extern  HAL_BOOL ar5416FillTxDesc_20(struct ath_tx_desc *ds,
 extern  HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_tx_desc *,HAL_KEY_TYPE);
 extern  HAL_STATUS ar5416ProcTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *);
 
-extern void ar5416Set11nTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+extern void ar5416Set11nTxDesc_20(struct ath_tx_desc *ds,
        a_uint32_t pktLen, HAL_PKT_TYPE type, a_uint32_t txPower,
        a_uint32_t keyIx, HAL_KEY_TYPE keyType, a_uint32_t flags);
 extern void ar5416Set11nRateScenario_20(struct ath_hal *ah, struct ath_tx_desc *ds,
index b1d806fe567f1b2085108227f4fb45a1b735ad7b..1806447895a3190432020e86c88052d0241f028d 100755 (executable)
@@ -277,7 +277,7 @@ static void ath_tx_tgt_setds(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
                break;
        }
 
-       ah->ah_set11nTxDesc(ah, ds
+       ah->ah_set11nTxDesc(ds
                              , bf->bf_pktlen
                              , bf->bf_atype
                              , 60