From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f46.google.com ([209.85.214.46]:36805 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755034Ab2IBViY (ORCPT ); Sun, 2 Sep 2012 17:38:24 -0400 From: Mathias Krause To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Mathias Krause Subject: [PATCH] PCI: drop duplicate const in DECLARE_PCI_FIXUP_SECTION Date: Sun, 2 Sep 2012 23:37:24 +0200 Message-Id: <1346621844-31211-1-git-send-email-minipli@googlemail.com> Sender: linux-pci-owner@vger.kernel.org List-ID: It's redundant and makes sparse complain about it. Signed-off-by: Mathias Krause --- include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index 5faa831..aee24a8 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -1472,7 +1472,7 @@ enum pci_fixup_pass { /* Anonymous variables would be nice... */ #define DECLARE_PCI_FIXUP_SECTION(section, name, vendor, device, class, \ class_shift, hook) \ - static const struct pci_fixup const __pci_fixup_##name __used \ + static const struct pci_fixup __pci_fixup_##name __used \ __attribute__((__section__(#section), aligned((sizeof(void *))))) \ = { vendor, device, class, class_shift, hook }; -- 1.7.10.4