Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e22b9d59 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Remove cpu_is_msm8960() check



The check in the code will always evaluate to true now that we
don't support A-family and does not affect the if statement that
uses it.

Change-Id: Ifdf88cc0305eb64a6a50f72a23e69239173ee4c6
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 01869c34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1461,7 +1461,7 @@ static int kgsl_iommu_setup_defaultpagetable(struct kgsl_mmu *mmu)

	/* If chip is not 8960 then we use the 2nd context bank for pagetable
	 * switching on the 3D side for which a separate table is allocated */
	if (!cpu_is_msm8960() && msm_soc_version_supports_iommu_v0()) {
	if (msm_soc_version_supports_iommu_v0()) {
		mmu->priv_bank_table =
			kgsl_mmu_getpagetable(mmu,
					KGSL_MMU_PRIV_BANK_TABLE_NAME);