|
@@ -794,11 +794,7 @@ bthci_IndicateEvent(
|
|
|
u32 dataLen
|
|
|
)
|
|
|
{
|
|
|
- enum rt_status rt_status;
|
|
|
-
|
|
|
- rt_status = PlatformIndicateBTEvent(padapter, pEvntData, dataLen);
|
|
|
-
|
|
|
- return rt_status;
|
|
|
+ return PlatformIndicateBTEvent(padapter, pEvntData, dataLen);
|
|
|
}
|
|
|
|
|
|
static void
|
|
@@ -2895,16 +2891,13 @@ bthci_CmdCreatePhysicalLink(
|
|
|
struct packet_irp_hcicmd_data *pHciCmd
|
|
|
)
|
|
|
{
|
|
|
- enum hci_status status;
|
|
|
struct bt_30info *pBTInfo = GET_BT_INFO(padapter);
|
|
|
struct bt_dgb *pBtDbg = &pBTInfo->BtDbg;
|
|
|
|
|
|
pBtDbg->dbgHciInfo.hciCmdCntCreatePhyLink++;
|
|
|
|
|
|
- status = bthci_BuildPhysicalLink(padapter,
|
|
|
+ return bthci_BuildPhysicalLink(padapter,
|
|
|
pHciCmd, HCI_CREATE_PHYSICAL_LINK);
|
|
|
-
|
|
|
- return status;
|
|
|
}
|
|
|
|
|
|
static enum hci_status
|
|
@@ -3170,16 +3163,13 @@ static enum hci_status
|
|
|
bthci_CmdAcceptPhysicalLink(struct rtw_adapter *padapter,
|
|
|
struct packet_irp_hcicmd_data *pHciCmd)
|
|
|
{
|
|
|
- enum hci_status status;
|
|
|
struct bt_30info *pBTInfo = GET_BT_INFO(padapter);
|
|
|
struct bt_dgb *pBtDbg = &pBTInfo->BtDbg;
|
|
|
|
|
|
pBtDbg->dbgHciInfo.hciCmdCntAcceptPhyLink++;
|
|
|
|
|
|
- status = bthci_BuildPhysicalLink(padapter,
|
|
|
+ return bthci_BuildPhysicalLink(padapter,
|
|
|
pHciCmd, HCI_ACCEPT_PHYSICAL_LINK);
|
|
|
-
|
|
|
- return status;
|
|
|
}
|
|
|
|
|
|
static enum hci_status
|