Skip to content

Commit 91aafa3

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in mes_v11_0.c
Fix the following errors reported by checkpatch: ERROR: else should follow close brace '}' Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 98268d4 commit 91aafa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/amdgpu/mes_v11_0.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,8 +788,7 @@ static int mes_v11_0_mqd_init(struct amdgpu_ring *ring)
788788
DOORBELL_SOURCE, 0);
789789
tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
790790
DOORBELL_HIT, 0);
791-
}
792-
else
791+
} else
793792
tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,
794793
DOORBELL_EN, 0);
795794
mqd->cp_hqd_pq_doorbell_control = tmp;

0 commit comments

Comments
 (0)