remove unused variables in ar5416Attach
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 18:47:31 +0000 (20:47 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 18:47:31 +0000 (20:47 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah.c
target_firmware/wlan/ar5416_hw.c

index ea79d12b835685b47ffe9618bda9b153d80eb81c..6f5be75939a1fb7b81f9552cb1063866dad99455 100755 (executable)
@@ -37,8 +37,8 @@
 #include "ah_internal.h"
 #include <asf_bitmap.h>
 
-extern struct ath_hal *ar5416Attach(a_uint32_t devid,HAL_SOFTC sc, adf_os_device_t dev,
-                                   a_uint32_t flags, HAL_STATUS *status);
+extern struct ath_hal *ar5416Attach(HAL_SOFTC sc, adf_os_device_t dev,
+                                                                       HAL_STATUS *status);
 
 struct ath_hal*
 ath_hal_attach_tgt(a_uint32_t devid,HAL_SOFTC sc,
@@ -47,8 +47,7 @@ ath_hal_attach_tgt(a_uint32_t devid,HAL_SOFTC sc,
 {
        struct ath_hal *ah = AH_NULL;
 
-       devid = AR5416_DEVID_PCIE;
-       ah = ar5416Attach(devid, sc, dev, flags, error);
+       ah = ar5416Attach(sc, dev, error);
 
        return ah;
 }
index 6cccf57778aeaca2f4679a1fa580e14609b49569..9959ac3cc6b8cc42ab28c218f1f0914cdd6b2d95 100644 (file)
@@ -88,8 +88,7 @@ void ar5416Detach(struct ath_hal *ah)
 }
 
 struct ath_hal *
-ar5416Attach(a_uint32_t devid,HAL_SOFTC sc, adf_os_device_t dev,
-            a_uint32_t flags, HAL_STATUS *status)
+ar5416Attach(HAL_SOFTC sc, adf_os_device_t dev, HAL_STATUS *status)
 {
        struct ath_hal_5416 *ahp;
        struct ath_hal *ah;