for (i = 0; i < (txpktbuf_bndy - 1); i++) {
                status = _rtl88ee_llt_write(hw, i, i + 1);
-               if (true != status)
+               if (!status)
                        return status;
        }
 
        status = _rtl88ee_llt_write(hw, (txpktbuf_bndy - 1), 0xFF);
-       if (true != status)
+       if (!status)
                return status;
 
        for (i = txpktbuf_bndy; i < maxpage; i++) {
                status = _rtl88ee_llt_write(hw, i, (i + 1));
-               if (true != status)
+               if (!status)
                        return status;
        }
 
        status = _rtl88ee_llt_write(hw, maxpage, txpktbuf_bndy);
-       if (true != status)
+       if (!status)
                return status;
 
        return true;
        rtl_write_byte(rtlpriv, MSR, 0x00);
 
        if (!rtlhal->mac_func_enable) {
-               if (_rtl88ee_llt_table_init(hw) == false) {
+               if (!_rtl88ee_llt_table_init(hw)) {
                        rtl_dbg(rtlpriv, COMP_INIT, DBG_LOUD,
                                "LLT table init fail\n");
                        return false;
        }
 
        rtstatus = _rtl88ee_init_mac(hw);
-       if (rtstatus != true) {
+       if (!rtstatus) {
                pr_info("Init MAC failed\n");
                err = 1;
                goto exit;