staging: rtl8723au: _InitQueueReservedPage(): Remove pointless brackets
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
13aa75858b
commit
ef71c9b86d
|
@ -150,14 +150,11 @@ static void _InitQueueReservedPage(struct rtw_adapter *Adapter)
|
||||||
u32 value32;
|
u32 value32;
|
||||||
u8 value8;
|
u8 value8;
|
||||||
bool bWiFiConfig = pregistrypriv->wifi_spec;
|
bool bWiFiConfig = pregistrypriv->wifi_spec;
|
||||||
/* u32 txQPageNum, txQPageUnit, txQRemainPage; */
|
|
||||||
|
|
||||||
{ /* for WMM */
|
|
||||||
/* RT_ASSERT((outEPNum>= 2), ("for WMM , number of out-ep "
|
/* RT_ASSERT((outEPNum>= 2), ("for WMM , number of out-ep "
|
||||||
"must more than or equal to 2!\n")); */
|
"must more than or equal to 2!\n")); */
|
||||||
|
|
||||||
numPubQ = bWiFiConfig ?
|
numPubQ = bWiFiConfig ? WMM_NORMAL_PAGE_NUM_PUBQ : NORMAL_PAGE_NUM_PUBQ;
|
||||||
WMM_NORMAL_PAGE_NUM_PUBQ : NORMAL_PAGE_NUM_PUBQ;
|
|
||||||
|
|
||||||
if (pHalData->OutEpQueueSel & TX_SELE_HQ) {
|
if (pHalData->OutEpQueueSel & TX_SELE_HQ) {
|
||||||
numHQ = bWiFiConfig ?
|
numHQ = bWiFiConfig ?
|
||||||
|
@ -176,7 +173,6 @@ static void _InitQueueReservedPage(struct rtw_adapter *Adapter)
|
||||||
}
|
}
|
||||||
value8 = (u8)_NPQ(numNQ);
|
value8 = (u8)_NPQ(numNQ);
|
||||||
rtl8723au_write8(Adapter, REG_RQPN_NPQ, value8);
|
rtl8723au_write8(Adapter, REG_RQPN_NPQ, value8);
|
||||||
}
|
|
||||||
|
|
||||||
/* TX DMA */
|
/* TX DMA */
|
||||||
value32 = _HPQ(numHQ) | _LPQ(numLQ) | _PUBQ(numPubQ) | LD_RQPN;
|
value32 = _HPQ(numHQ) | _LPQ(numLQ) | _PUBQ(numPubQ) | LD_RQPN;
|
||||||
|
|
Loading…
Reference in a new issue