mirror of https://gitee.com/openkylin/linux.git
staging: rtl8712: Remove comparison to true
Remove the comparison to true in the if statement. CHECK: Using comparison to true is error prone. Signed-off-by: Branden Bonaby <brandonbonaby94@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
27903f9f6b
commit
b6e24d0e21
|
@ -532,7 +532,7 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
|
|||
(pattrib->dhcp_pkt != 1)) {
|
||||
/*Not EAP & ARP type data packet*/
|
||||
if (phtpriv->ht_option == 1) { /*B/G/N Mode*/
|
||||
if (phtpriv->ampdu_enable != true)
|
||||
if (!phtpriv->ampdu_enable)
|
||||
ptxdesc->txdw2 |= cpu_to_le32(BK);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue