]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove set but not used variable 'pixel_width'
authorzhengbin <zhengbin13@huawei.com>
Sat, 5 Oct 2019 02:44:35 +0000 (10:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2019 20:10:45 +0000 (15:10 -0500)
commit623559314c1c319385da7cdc182d3c64520981eb
treebfe8a52f168ccb008e574cebd89427148e40a147
parent5d87bcd83f52892a74d9a9992515fb272c0bf514
drm/amd/display: Remove set but not used variable 'pixel_width'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c: In function dpp2_get_optimal_number_of_taps:
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c:359:11: warning: variable pixel_width set but not used [-Wunused-but-set-variable]

It is not used since commit b37b9770f95b ("drm/amd/display:
Add DCN2 DPP")

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c