Skip to content
Commit 7e30402b authored by zhengbin's avatar zhengbin Committed by Alex Deucher
Browse files

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 1eeedbcc ("drm/amd/display:
get board layout for edid emulation"), but never used,
so remove it.

Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 589d8d28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment