From: Himadri Pandya Date: Sun, 17 Mar 2019 06:15:00 +0000 (+0530) Subject: staging: rtl8723bs: hal: Modify comparison to constant in hal_btcoex.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ca739e21ba90d7f2107f9d2ee11b27155aa671e3;p=linux.git staging: rtl8723bs: hal: Modify comparison to constant in hal_btcoex.c 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index ffc345b6e0c94..6caddd7834a18 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -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;