]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/gma500: remove unused variable 'hdmi_ids'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 17 Apr 2020 10:10:32 +0000 (18:10 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Apr 2020 06:15:03 +0000 (08:15 +0200)
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417101032.8140-1-yuehaibing@huawei.com
drivers/gpu/drm/gma500/oaktrail_hdmi.c

index b25086f252ae02087a22beafa03de9b0d4b1ed26..a097a59a9eaec1929487f7661f7d4843b2f06d21 100644 (file)
@@ -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;