Commit 1cf6c1a7 authored by YueHaibing's avatar YueHaibing Committed by Daniel Vetter
Browse files

drm/gma500: remove unused variable 'hdmi_ids'



drivers/gpu/drm/gma500/oaktrail_hdmi.c:676:35: warning: ‘hdmi_ids’ defined but not used [-Wunused-const-variable=]
 static const struct pci_device_id hdmi_ids[] = {
                                   ^~~~~~~~

It is never used, remove it.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417101032.8140-1-yuehaibing@huawei.com
parent add0aff2
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -663,11 +663,6 @@ failed_connector:
	kfree(gma_encoder);
}

static const struct pci_device_id hdmi_ids[] = {
	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080d) },
	{ 0 }
};

void oaktrail_hdmi_setup(struct drm_device *dev)
{
	struct drm_psb_private *dev_priv = dev->dev_private;