This patch resolves coding style brace warning and constant on right warning.
WARNING: Comparisons should place the constant on the right side of the test
WARNING: braces {} are not necessary for single statement blocks
CHECK: Comparison to NULL could be written "!pbuf"
Signed-off-by: Vandana BN <bnvandana@gmail.com>
------
 v2- Edited commit message and subject
 v3- Edited commit message
 v4- changed NULL check to use !pbuf
------
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        padapter = (struct adapter *)rtw_netdev_priv(dev);
 
        pbuf = rtw_zmalloc(bufsize);
-       if (NULL == pbuf) {
+       if (!pbuf)
                return -ENOMEM;
-       }
 
        rtw_btcoex_DisplayBtCoexInfo(padapter, pbuf, bufsize);