Commit b6e24d0e authored by Branden Bonaby's avatar Branden Bonaby Committed by Greg Kroah-Hartman
Browse files

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: default avatarBranden Bonaby <brandonbonaby94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27903f9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {