Skip to content

Commit 0165e9c

Browse files
Konrad Dybciorobclark
authored andcommitted
drm/msm/adreno: Remove dead code
This BUG_ON will never be reached, and there is a comment 20 above explaining why. Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Akhil P Oommen <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/487586/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 6694482 commit 0165e9c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gmu.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,8 +1549,6 @@ int a6xx_gmu_init(struct a6xx_gpu *a6xx_gpu, struct device_node *node)
15491549
if (ret)
15501550
goto err_memory;
15511551
} else {
1552-
BUG_ON(adreno_is_a660_family(adreno_gpu));
1553-
15541552
/* HFI v1, has sptprac */
15551553
gmu->legacy = true;
15561554

0 commit comments

Comments
 (0)