staging: ath6kl: Remove A_FAILED macro
[firefly-linux-kernel-4.4.55.git] / drivers / staging / ath6kl / os / linux / ar6k_pal.c
index 10ee89ef782b679fee83b91aa7540518ae3e5cb3..5a0b373cd3e1f975fab228ba7129ae96abeb8ad7 100644 (file)
@@ -304,7 +304,7 @@ static int bt_setup_hci_pal(ar6k_hci_pal_info_t *pHciPalInfo)
 
        } while (FALSE);
 
-       if (A_FAILED(status)) {
+       if (status) {
                bt_cleanup_hci_pal(pHciPalInfo);    
        }
        return status;
@@ -423,7 +423,7 @@ int ar6k_setup_hci_pal(void *ar_p)
                pHciPalInfo->ar = ar;
 
                status = bt_setup_hci_pal(pHciPalInfo);
-               if (A_FAILED(status)) {
+               if (status) {
                        break;    
                }
 
@@ -437,7 +437,7 @@ int ar6k_setup_hci_pal(void *ar_p)
                ar6k_pal_transport_ready(ar->hcipal_info);
        } while (FALSE);
 
-       if (A_FAILED(status)) {
+       if (status) {
                ar6k_cleanup_hci_pal(ar);    
        }
        return status;