From: Andy Shevchenko Date: Wed, 18 Dec 2019 12:53:31 +0000 (+0200) Subject: platform/x86: intel_pmc_core: Remove unnecessary assignments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=476bac56c1ebe11f591ffd39ed915ac28da67fe7;p=linux.git platform/x86: intel_pmc_core: Remove unnecessary assignments There is no need to assign NULL or 0 in the static structures explicitly. Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c index f7256168bb8f0..24bfd9b637ffd 100644 --- a/drivers/platform/x86/intel_pmc_core.c +++ b/drivers/platform/x86/intel_pmc_core.c @@ -822,8 +822,8 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = { MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids); static const struct pci_device_id pmc_pci_ids[] = { - { PCI_VDEVICE(INTEL, SPT_PMC_PCI_DEVICE_ID), 0}, - { 0, } + { PCI_VDEVICE(INTEL, SPT_PMC_PCI_DEVICE_ID) }, + { } }; /*