Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 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

authored by

YueHaibing and committed by
Daniel Vetter
1cf6c1a7 add0aff2

-5
-5
drivers/gpu/drm/gma500/oaktrail_hdmi.c
··· 663 663 kfree(gma_encoder); 664 664 } 665 665 666 - static const struct pci_device_id hdmi_ids[] = { 667 - { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080d) }, 668 - { 0 } 669 - }; 670 - 671 666 void oaktrail_hdmi_setup(struct drm_device *dev) 672 667 { 673 668 struct drm_psb_private *dev_priv = dev->dev_private;