build fix: remove unused variable mem_start from ath_tgt_attach
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 13:33:10 +0000 (15:33 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 18:05:34 +0000 (20:05 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath.c
target_firmware/wlan/if_ath_pci.c

index 33fb7c90472f84397e78e9fab31091cf804654ac..665e05bfa98209e1f54f959b3b82149079af11c9 100755 (executable)
@@ -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;
index d4499ffaeb9b4680b863b4052e5d52dee3ff8360..038f915f3947e3db1ee1f97121109470a78fac9f 100755 (executable)
@@ -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 */