remove unused variable in ah_fillTxDesc
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 19:58:07 +0000 (21:58 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 19:58:07 +0000 (21:58 +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
target_firmware/wlan/if_owl.c

index 73e43e70fbd868eb2728f25e5cbc258c4dce716f..4b3e8451fe68d14fa3fdeea73241d8d484073168 100755 (executable)
@@ -423,7 +423,7 @@ struct ath_hal
                                            a_uint32_t txRate0, a_uint32_t txTries0,
                                            a_uint32_t keyIx, a_uint32_t flags,
                                            a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration);
-       HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_tx_desc *,
+       HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_tx_desc *,
                                           a_uint32_t segLen, HAL_BOOL firstSeg,
                                           HAL_BOOL lastSeg, const struct ath_tx_desc *);
        HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_tx_desc *, HAL_KEY_TYPE);
index ffd30daa5628dd24b5f018e6a58c366e25a2f2fb..27aae5dc0d7044b0c4dfce144f6065704323d270 100644 (file)
@@ -663,7 +663,7 @@ HAL_BOOL ar5416SetupTxDesc_20(struct ath_tx_desc *ds,
 #undef RTSCTS
 }
 
-HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+HAL_BOOL ar5416FillTxDesc_20(struct ath_tx_desc *ds,
                             a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
                             const struct ath_tx_desc *ds0)
 {
index 42c6ab7c6756f0a2508dfe45db057b0bec2320a8..8448b671d5e7e0bcf7509b3b0411bf8c8c080e13 100755 (executable)
@@ -463,7 +463,7 @@ extern  HAL_BOOL ar5416SetupTxDesc_20(struct ath_tx_desc *ds,
         a_uint32_t txRate0, a_uint32_t txTries0,
         a_uint32_t keyIx, a_uint32_t flags,
         a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration);
-extern  HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
+extern  HAL_BOOL ar5416FillTxDesc_20(struct ath_tx_desc *ds,
         a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
         const struct ath_tx_desc *ds0);
 extern  HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *,HAL_KEY_TYPE);
index 89c42d4f45b8f2e7c1884fa56d6096b727bbe604..72cbda8cb335cce2d0a275bdbf0ca5e3f4a7ce4d 100755 (executable)
@@ -553,7 +553,7 @@ static void ath_beacon_setup(struct ath_softc_tgt *sc,
                            , 0
                            , 0);
 
-       ah->ah_fillTxDesc(ah, ds
+       ah->ah_fillTxDesc(ds
                           , asf_roundup(adf_nbuf_len(skb), 4)
                           , AH_TRUE
                           , AH_TRUE
index cececaf59cf1d40862a8bd887c00286fe108f877..890aa7fad0db860751781ee616174ec5878311ca 100755 (executable)
@@ -253,7 +253,7 @@ static void ath_filltxdesc(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
                } else
                        ds->ds_link = ATH_BUF_GET_DESC_PHY_ADDR_WITH_IDX(bf, i+1);
 
-               ah->ah_fillTxDesc(ah, ds
+               ah->ah_fillTxDesc(ds
                                   , bf->bf_dmamap_info.dma_segs[i].len
                                   , i == 0
                                   , i == (bf->bf_dmamap_info.nsegs - 1)