]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove set but not used variable 'bp' in bios_parser.c
authorzhengbin <zhengbin13@huawei.com>
Thu, 14 Nov 2019 12:36:26 +0000 (20:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:51 +0000 (10:12 -0500)
commit0caaa832cff2e78be47b659330bc544951120efe
tree34563e6e318bf7a37e7efaa5add4838765a663ff
parentf4669427cfafdcc6c30cd6385e16959367573215
drm/amd/display: remove set but not used variable 'bp' in bios_parser.c

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

drivers/gpu/drm/amd/display/dc/bios/bios_parser.c: In function bios_get_board_layout_info:
drivers/gpu/drm/amd/display/dc/bios/bios_parser.c:2743:22: warning: variable bp set but not used [-Wunused-but-set-variable]

It is introduced by commit d66902297e9f ("drm/amd/display:
get board layout for edid emulation"), but never used,
so remove it.

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/bios/bios_parser.c