static void DBG_BT_INFO_INIT(PBTCDBGINFO pinfo, u8 *pbuf, u32 size)
 {
-       if (NULL == pinfo)
+       if (!pinfo)
                return;
 
        memset(pinfo, 0, sizeof(BTCDBGINFO));
 
        pinfo = &GLBtcDbgInfo;
 
-       if (NULL == pinfo->info)
+       if (!pinfo->info)
                return;
 
        msglen = strlen(dbgmsg);
 /*  */
 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist)
 {
-       if (!pBtCoexist->bBinded ||
-               NULL == pBtCoexist->Adapter){
+       if (!pBtCoexist->bBinded || !pBtCoexist->Adapter){
                return false;
        }
        return true;
        u32 i;
 
 
-       if (NULL == pDbgModule)
+       if (!pDbgModule)
                return;
 
        for (i = 0; i < BTC_MSG_MAX; i++)
        u32 leftSize;
 
 
-       if ((NULL == pStrBuf) || (0 == bufSize))
+       if (!pStrBuf || (0 == bufSize))
                return 0;
 
        pstr = pStrBuf;