[PATCH 07/42] build fix: remove unused variable mem_start from ath_tgt_attach
Oleksij Rempel
linux at rempel-privat.de
Mon Apr 1 02:50:59 EDT 2013
Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
target_firmware/wlan/if_ath.c | 3 +--
target_firmware/wlan/if_ath_pci.c | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c
index 33fb7c9..665e05b 100755
--- a/target_firmware/wlan/if_ath.c
+++ b/target_firmware/wlan/if_ath.c
@@ -1883,8 +1883,7 @@ static void tgt_hif_htc_wmi_init(struct ath_softc_tgt *sc)
HTC_Ready(sc->tgt_htc_handle);
}
-a_int32_t ath_tgt_attach(a_uint32_t devid,a_uint32_t mem_start,
- struct ath_softc_tgt *sc, adf_os_device_t osdev)
+a_int32_t ath_tgt_attach(a_uint32_t devid, struct ath_softc_tgt *sc, adf_os_device_t osdev)
{
struct ath_hal *ah;
HAL_STATUS status;
diff --git a/target_firmware/wlan/if_ath_pci.c b/target_firmware/wlan/if_ath_pci.c
index d4499ff..038f915 100755
--- a/target_firmware/wlan/if_ath_pci.c
+++ b/target_firmware/wlan/if_ath_pci.c
@@ -64,8 +64,7 @@
#include "if_athvar.h"
#include "if_ath_pci.h"
-extern a_int32_t ath_tgt_attach(a_uint32_t devid,a_uint32_t mem_start,
- struct ath_softc_tgt *sc, adf_os_device_t osdev);
+extern a_int32_t ath_tgt_attach(a_uint32_t devid, struct ath_softc_tgt *sc, adf_os_device_t osdev);
extern a_int32_t ath_detach(void *);
extern adf_os_irq_resp_t ath_intr(adf_drv_handle_t hdl);
@@ -145,7 +144,7 @@ ath_pci_probe(adf_os_resource_t *res,a_int32_t count, adf_os_attach_data_t *data
adf_os_print("ath_pci_probe %x\n",id->device);
- if (ath_tgt_attach(id->device, res->start, &sc->aps_sc, osdev) != 0)
+ if (ath_tgt_attach(id->device, &sc->aps_sc, osdev) != 0)
goto bad3;
/* ready to process interrupts */
--
1.8.1.2
More information about the Ath9k_htc_fw
mailing list