mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
drm: fix useless gcc unused variable warning
the calling function doesn't call this function unless one of the two states that sets the value is true. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
bdf539ad61
commit
f890607b1e
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ static void edid_fixup_preferred(struct drm_connector *connector,
|
|||
u32 quirks)
|
||||
{
|
||||
struct drm_display_mode *t, *cur_mode, *preferred_mode;
|
||||
int target_refresh;
|
||||
int target_refresh = 0;
|
||||
|
||||
if (list_empty(&connector->probed_modes))
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue