staging: rtl8723bs: hal: Modify comparison to constant in hal_btcoex.c
authorHimadri Pandya <himadri18.07@gmail.com>
Sun, 17 Mar 2019 06:15:00 +0000 (11:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:06:08 +0000 (07:06 +0100)
Modify comparison to 0 in file hal_btcoex.c in order to follow kernel
coding style of constant should appear on right side.

Signed-off-by: Himadri Pandya <himadri18.07@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_btcoex.c

index ffc345b6e0c94d59c9b92ca35f6e5417686e5ae0..6caddd7834a189f795c7924efb61cc8e524aa8e3 100644 (file)
@@ -1584,7 +1584,7 @@ u32 hal_btcoex_GetDBG(struct adapter *padapter, u8 *pStrBuf, u32 bufSize)
        u32 leftSize;
 
 
-       if (!pStrBuf || (0 == bufSize))
+       if (!pStrBuf || bufSize == 0)
                return 0;
 
        pstr = pStrBuf;