staging: ath6kl: Remove #define A_OK
Just use 0.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/staging/ath6kl/os/linux/hci_bridge.c b/drivers/staging/ath6kl/os/linux/hci_bridge.c
index 82cf52f..f170382 100644
--- a/drivers/staging/ath6kl/os/linux/hci_bridge.c
+++ b/drivers/staging/ath6kl/os/linux/hci_bridge.c
@@ -294,7 +294,7 @@
address = TARG_VTOP(pHcidevInfo->ar->arTargetType,
HOST_INTEREST_ITEM_ADDRESS(pHcidevInfo->ar, hi_hci_uart_pwr_mgmt_params));
status = ar6000_ReadRegDiag(pHcidevInfo->ar->arHifDevice, &address, &hci_uart_pwr_mgmt_params);
- if (A_OK == status) {
+ if (0 == status) {
ar3kconfig.PwrMgmtEnabled = (hci_uart_pwr_mgmt_params & 0x1);
ar3kconfig.IdleTimeout = (hci_uart_pwr_mgmt_params & 0xFFFF0000) >> 16;
ar3kconfig.WakeupTimeout = (hci_uart_pwr_mgmt_params & 0xFF00) >> 8;
@@ -470,7 +470,7 @@
#endif
{
HCI_TRANSPORT_CONFIG_INFO config;
- int status = A_OK;
+ int status = 0;
int i;
HTC_PACKET *pPacket;
AR6K_HCI_BRIDGE_INFO *pHcidevInfo;
@@ -551,7 +551,7 @@
if (NULL == pHcidevInfo->pHCIDev) {
/* GMBOX may not be present in older chips */
/* just return success */
- status = A_OK;
+ status = 0;
}
}
ar6000_cleanup_hci(ar);
@@ -601,7 +601,7 @@
int hci_test_send(AR_SOFTC_T *ar, struct sk_buff *skb)
#endif
{
- int status = A_OK;
+ int status = 0;
int length;
EPPING_HEADER *pHeader;
HTC_PACKET *pPacket;
@@ -712,7 +712,7 @@
HCI_TRANSPORT_PACKET_TYPE type;
AR6K_HCI_BRIDGE_INFO *pHcidevInfo;
HTC_PACKET *pPacket;
- int status = A_OK;
+ int status = 0;
struct sk_buff *txSkb = NULL;
if (!hdev) {
@@ -855,12 +855,12 @@
static int bt_setup_hci(AR6K_HCI_BRIDGE_INFO *pHcidevInfo)
{
- int status = A_OK;
+ int status = 0;
struct hci_dev *pHciDev = NULL;
HIF_DEVICE_OS_DEVICE_INFO osDevInfo;
if (!setupbtdev) {
- return A_OK;
+ return 0;
}
do {
@@ -938,7 +938,7 @@
static int bt_register_hci(AR6K_HCI_BRIDGE_INFO *pHcidevInfo)
{
int err;
- int status = A_OK;
+ int status = 0;
do {
AR_DEBUG_PRINTF(ATH_DEBUG_HCI_BRIDGE, ("HCI Bridge: registering HCI... \n"));
@@ -1043,7 +1043,7 @@
/* stubs when we only want to test the HCI bridging Interface without the HT stack */
static int bt_setup_hci(AR6K_HCI_BRIDGE_INFO *pHcidevInfo)
{
- return A_OK;
+ return 0;
}
static void bt_cleanup_hci(AR6K_HCI_BRIDGE_INFO *pHcidevInfo)
{
@@ -1085,7 +1085,7 @@
int ar6000_setup_hci(AR_SOFTC_T *ar)
#endif
{
- return A_OK;
+ return 0;
}
#ifdef EXPORT_HCI_BRIDGE_INTERFACE