drm/radeon/ci add comment to document intentionally unreachable code
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 19 Jul 2016 19:54:06 +0000 (21:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:45 +0000 (14:36 -0400)
commitecb2caae6aa7e33a8b413479d802a6b818316f97
tree9b5a5f10103066d1477d1a30cf5d8941c9f3f40a
parent23a1a9e54e71593fe5657e883662995d181d2d6b
drm/radeon/ci add comment to document intentionally unreachable code

 commit d967be9b80a5 ("drm/radeon/ci: disable needless sclk changes")
 introduces an unreachable if(C != C) conditional code section
 flagged by coccinelle script bad_conditional.cocci:

 Add a comment to make it clear that this is intentional.

 Fixes: d967be9b80a5 ("drm/radeon/ci: disable needless sclk changes")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c