OSDN Git Service

drm/amd/powerplay: remove redundant assignment to variables HiSidd and LoSidd
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Nov 2019 23:04:07 +0000 (23:04 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Nov 2019 14:48:57 +0000 (09:48 -0500)
commitdde8c8dfd0b7dd61ada1fc1b8560dd974140ba3f
treead5bb0b418c6d5e8d722570d09b99e20d6f953a6
parentfd5a7254721e64b7604adffdcfad5b126142008b
drm/amd/powerplay: remove redundant assignment to variables HiSidd and LoSidd

The variables HiSidd and LoSidd are being initialized with values that
are never read and are being updated a little later with a new value.
The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c