staging: rtl8188eu: cleanup long line in rtw_hal_xmit()
authorMichael Straube <straube.linux@gmail.com>
Sat, 27 Oct 2018 20:28:50 +0000 (22:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:41:00 +0000 (12:41 +0100)
Cleanup a line over 80 characters in rtw_hal_xmit() by using
if(x) instead of if(x == true). Also clears a missing spaces
around '|' checkpatch issue.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c

index 35bc8fc32db164a816de20690ba0c797f8828ee6..a72e069269b8c160562afdaa69c4be3bf105b94f 100644 (file)
@@ -611,7 +611,7 @@ bool rtw_hal_xmit(struct adapter *adapt, struct xmit_frame *pxmitframe)
        if (rtw_txframes_sta_ac_pending(adapt, pattrib) > 0)
                goto enqueue;
 
-       if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY|_FW_UNDER_LINKING) == true)
+       if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING))
                goto enqueue;
 
        pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv);