Commit 2a1e00c3 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Alex Deucher
Browse files

gpu: drm: amd: powerplay: Remove logically dead code



Result of pointer airthmentic is never null

fix coverity defect:1451876

Signed-off-by: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b56a53db
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -736,8 +736,6 @@ static int smu_v11_0_write_watermarks_table(struct smu_context *smu)
	struct smu_table *table = NULL;

	table = &smu_table->tables[SMU_TABLE_WATERMARKS];
	if (!table)
		return -EINVAL;

	if (!table->cpu_addr)
		return -EINVAL;