From patchwork Sun Sep 2 21:37:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Krause X-Patchwork-Id: 181229 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id EF3882C0087 for ; Mon, 3 Sep 2012 07:38:26 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755075Ab2IBViZ (ORCPT ); Sun, 2 Sep 2012 17:38:25 -0400 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 Received: by bkwj10 with SMTP id j10so1926782bkw.19 for ; Sun, 02 Sep 2012 14:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=ouSmWekQRaPuO0WovaMfDe0z58k9gfQH0Ui07wyMBLY=; b=J44vHx44G+NW+mYzCWGr6KlUi2KhI8sOfXki+AokT5aBkDVmGJ5xRnJhdenim4xDEG rsJJF6/5+JZ0lycz3eT2Y/2AmAH2sceI68DCtLhgcBUDs6xdMy/vsTEy68wS49/SkBiS yHX+dQXReEGuQyVnZ9E4AmeJsGZrWHPkwB1RhX8yGeI/KCfTlVCWZZbbc3sAELoIWJaI veZ/gpHQL1b2oj9/tCsDlQ4a1ZEaRsdNsnuB7q5jX76AQNphawyK5RQ0lads6i7HrO92 HxcW4v/mdcivn+hswkMBrYDRIExQbHLoks2qCsBTPoQrOpblN3W+XIdDPi9EklEMvXHj +7cg== Received: by 10.204.155.69 with SMTP id r5mr6074033bkw.49.1346621903527; Sun, 02 Sep 2012 14:38:23 -0700 (PDT) Received: from jig.fritz.box (pD9EB2F1D.dip.t-dialin.net. [217.235.47.29]) by mx.google.com with ESMTPS id gq2sm6601856bkc.13.2012.09.02.14.38.21 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Sep 2012 14:38:22 -0700 (PDT) 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> X-Mailer: git-send-email 1.7.10.4 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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 };