static inline bool ufs_qcom_cap_qunipro(struct ufs_qcom_host *host)
 {
-       if (host->caps & UFS_QCOM_CAP_QUNIPRO)
-               return true;
-       else
-               return false;
+       return host->caps & UFS_QCOM_CAP_QUNIPRO;
 }
 
 /* ufs-qcom-ice.c */
 
         * logic simple, we will only do manual tuning if local unipro version
         * doesn't support ver1.6 or later.
         */
-       if (ufshcd_get_local_unipro_ver(hba) < UFS_UNIPRO_VER_1_6)
-               return true;
-       else
-               return false;
+       return ufshcd_get_local_unipro_ver(hba) < UFS_UNIPRO_VER_1_6;
 }
 
 /**
  */
 static inline bool ufshcd_ready_for_uic_cmd(struct ufs_hba *hba)
 {
-       if (ufshcd_readl(hba, REG_CONTROLLER_STATUS) & UIC_COMMAND_READY)
-               return true;
-       else
-               return false;
+       return ufshcd_readl(hba, REG_CONTROLLER_STATUS) & UIC_COMMAND_READY;
 }
 
 /**
                return false;
        }
        /* Let it continue to flush when available buffer exceeds threshold */
-       if (avail_buf < hba->vps->wb_flush_threshold)
-               return true;
-
-       return false;
+       return avail_buf < hba->vps->wb_flush_threshold;
 }
 
 static void ufshcd_wb_force_disable(struct ufs_hba *hba)
                return false;
        }
 
-       if (!hba->dev_info.b_presrv_uspc_en) {
-               if (avail_buf <= UFS_WB_BUF_REMAIN_PERCENT(10))
-                       return true;
-               return false;
-       }
+       if (!hba->dev_info.b_presrv_uspc_en)
+               return avail_buf <= UFS_WB_BUF_REMAIN_PERCENT(10);
 
        return ufshcd_wb_presrv_usrspc_keep_vcc_on(hba, avail_buf);
 }
 
 
 static bool ufshpb_is_pinned_region(struct ufshpb_lu *hpb, int rgn_idx)
 {
-       if (hpb->lu_pinned_end != PINNED_NOT_SET &&
-           rgn_idx >= hpb->lu_pinned_start &&
-           rgn_idx <= hpb->lu_pinned_end)
-               return true;
-
-       return false;
+       return hpb->lu_pinned_end != PINNED_NOT_SET &&
+              rgn_idx >= hpb->lu_pinned_start && rgn_idx <= hpb->lu_pinned_end;
 }
 
 static void ufshpb_kick_map_work(struct ufshpb_lu *hpb)