瀏覽代碼

msm: eva: fix a compilation issue

That breaks kernel compilation due to PW setting override.

Change-Id: I9b15fe2676a9f2350684066363c4915fa3203016
Signed-off-by: George Shen <[email protected]>
George Shen 2 年之前
父節點
當前提交
0ae23cf079
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      msm/eva/msm_cvp_buf.c

+ 0 - 3
msm/eva/msm_cvp_buf.c

@@ -1903,9 +1903,6 @@ void msm_cvp_print_inst_bufs(struct msm_cvp_inst *inst, bool log)
 	struct inst_snapshot *snap = NULL;
 	int i = 0, c = 0;
 
-	if (!cvp_driver->cores)
-		return;
-
 	core = list_first_entry(&cvp_driver->cores, struct msm_cvp_core, list);
 	if (log && core->log.snapshot_index < 16) {
 		snap = &core->log.snapshot[core->log.snapshot_index];