]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bb0264e906dd7c8d8cea422fc87bf19fdbade2a
tree9b5a5f10103066d1477d1a30cf5d8941c9f3f40a
parent486da6880600fd81b36a9535281f473880383ae3
drm/radeon/ci add comment to document intentionally unreachable code

 commit 1fe8de75faaa ("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: 1fe8de75faaa ("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