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:
Branden Bonaby 2019-03-26 13:29:30 -04:00 committed by Greg Kroah-Hartman
parent 27903f9f6b
commit b6e24d0e21
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
(pattrib->dhcp_pkt != 1)) { (pattrib->dhcp_pkt != 1)) {
/*Not EAP & ARP type data packet*/ /*Not EAP & ARP type data packet*/
if (phtpriv->ht_option == 1) { /*B/G/N Mode*/ if (phtpriv->ht_option == 1) { /*B/G/N Mode*/
if (phtpriv->ampdu_enable != true) if (!phtpriv->ampdu_enable)
ptxdesc->txdw2 |= cpu_to_le32(BK); ptxdesc->txdw2 |= cpu_to_le32(BK);
} }
} else { } else {