]> 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)
commit637947164e9bfb1cf5390cd316718429d942e6b8
tree9b5a5f10103066d1477d1a30cf5d8941c9f3f40a
parenta5bbc7308f26ffce218e6c8b8a5e6bea4743c4dd
drm/radeon/ci add comment to document intentionally unreachable code

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