drm/amd/display: remove set but not used variable 'bp' in bios_parser2.c
authorzhengbin <zhengbin13@huawei.com>
Thu, 14 Nov 2019 12:36:25 +0000 (20:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:51 +0000 (10:12 -0500)
commit589d8d282ebe1eab2dd8b1fba3e60322787a50e6
treeab3823c134d336b0587c6ec5dac4304bf1ba92db
parentd3b65841b31c0192f997e0f9bc64dccbfaa97bcc
drm/amd/display: remove set but not used variable 'bp' in bios_parser2.c

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

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

It is introduced by commit 1eeedbcc20d6 ("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_parser2.c