提交 f890607b 编写于 作者: D Dave Airlie 提交者: Dave Airlie

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: NDave Airlie <airlied@redhat.com>
上级 bdf539ad
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册