From patchwork Tue Oct 16 14:38:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10643675 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 28075112B for ; Tue, 16 Oct 2018 14:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDF9E285AB for ; Tue, 16 Oct 2018 14:38:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB88A29DD8; Tue, 16 Oct 2018 14:38:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_MUA_MOZILLA,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43ED6285AB for ; Tue, 16 Oct 2018 14:38:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727247AbeJPW3D (ORCPT ); Tue, 16 Oct 2018 18:29:03 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51064 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727016AbeJPW3B (ORCPT ); Tue, 16 Oct 2018 18:29:01 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181016143815euoutp01e676ecbc8c00336cca6e65b9b3a9ad1e~eHaAIkaLq2766127661euoutp01P for ; Tue, 16 Oct 2018 14:38:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181016143815euoutp01e676ecbc8c00336cca6e65b9b3a9ad1e~eHaAIkaLq2766127661euoutp01P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539700695; bh=2ViFVH4amCKDmOOJW9zJ6/iiILC/aBPrUAOPsop9aFk=; h=To:Cc:From:Subject:Date:References:From; b=PIqsLb+E/l+uZCfHpzCTIhbGtXz+ifk3QS/E9Fiq+5aN4sTaAhayKF6rQMHszgesY e/BQPa8RQsPKwiiCk9IRp+6iLctM/389S/dPRpTaJ8Q5gir2xM6gZOM2mGMharDXiM Ql1Aq0oyo4/5o1y8fwZOlTXeiKjd6R+gMk5v0Xbc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181016143815eucas1p22540847777ccde5effbf56bbdfff7ad3~eHZ-qEmcO2851928519eucas1p2K; Tue, 16 Oct 2018 14:38:15 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 3A.BE.04806.6D7F5CB5; Tue, 16 Oct 2018 15:38:14 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20181016143814eucas1p21b1f3099131fc3f4263947932195299e~eHZ_4THEH2088320883eucas1p2s; Tue, 16 Oct 2018 14:38:14 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181016143814eusmtrp20f2e4fccc57f96e45f859662bd674819~eHZ_qLZNV2636126361eusmtrp2d; Tue, 16 Oct 2018 14:38:14 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-f2-5bc5f7d6880a Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E3.87.04284.6D7F5CB5; Tue, 16 Oct 2018 15:38:14 +0100 (BST) Received: from [106.120.53.102] (unknown [106.120.53.102]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20181016143813eusmtip23d3451797de6ad066b805e40ca5a0e30~eHZ_c6CXs2376723767eusmtip2M; Tue, 16 Oct 2018 14:38:13 +0000 (GMT) To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] PCI: pcie: remove redundant 'default n' from Kconfig Date: Tue, 16 Oct 2018 16:38:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJIsWRmVeSWpSXmKPExsWy7djPc7rXvh+NNrh+1sJiSVOGxeVdc9gs zs47zubA7LFgU6nH501yAUxRXDYpqTmZZalF+nYJXBkH1kcVHBas2HL7DksD42beLkZODgkB E4k5t36zdjFycQgJrGCUOPNiApTzhVFi6pZnTBDOZ0aJbVM2sMO0LD+8lw0isZxR4vSZZ4wQ zntGiSVbFrCCVIkIqEssPPqeCcRmFrCWeNTWDGazCVhJTGxfxQhiCwu4Sly49IQNxGYRUJVo bd4K1MvBISoQIdF/Rh0kzCsgKHFy5hMWiDHyEtvfzmEG2SUhcJlN4vTz8+wQRWUS7Ue2skJc 5yLxq+E5lC0s8er4FqirZST+75zPBNE8nVHiza+lLBDOekaJNWeOMUFUWUscPn4R7ApmAU2J 9bv0IcKOEsd+bmUDCUsI8EnceCsIcRCfxKRt05khwrwSHW1CENVqEhuWbWCDWdu1cyUzhO0h cfP5LbC4kECsxIP9L5gmMCrMQvLmLCRvzkK4YQEj8ypG8dTS4tz01GLjvNRyveLE3OLSvHS9 5PzcTYzABHH63/GvOxj3/Uk6xCjAw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ZDOuGLgvx2KbEUZyQaajEXFScCAP5IkQl5 AgAA Message-Id: <20181016143814eucas1p21b1f3099131fc3f4263947932195299e~eHZ_4THEH2088320883eucas1p2s@eucas1p2.samsung.com> X-CMS-MailID: 20181016143814eucas1p21b1f3099131fc3f4263947932195299e X-Msg-Generator: CA X-RootMTR: 20181016143814eucas1p21b1f3099131fc3f4263947932195299e X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181016143814eucas1p21b1f3099131fc3f4263947932195299e References: Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not: ... One side effect of (and the main motivation for) this change is making the following two definitions behave exactly the same: config FOO bool config FOO bool default n With this change, neither of these will generate a '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). That might make it clearer to people that a bare 'default n' is redundant. ... Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/pci/pcie/Kconfig | 4 ---- 1 file changed, 4 deletions(-) Index: b/drivers/pci/pcie/Kconfig =================================================================== --- a/drivers/pci/pcie/Kconfig 2018-10-09 15:58:49.831123212 +0200 +++ b/drivers/pci/pcie/Kconfig 2018-10-16 16:36:32.419732670 +0200 @@ -36,7 +36,6 @@ config PCIEAER config PCIEAER_INJECT tristate "PCI Express error injection support" depends on PCIEAER && DYNAMIC_FTRACE_WITH_REGS - default n help This enables PCI Express Root Port Advanced Error Reporting (AER) software error injector. @@ -84,7 +83,6 @@ config PCIEASPM config PCIEASPM_DEBUG bool "Debug PCI Express ASPM" depends on PCIEASPM - default n help This enables PCI Express ASPM debug support. It will add per-device interface to control ASPM. @@ -129,7 +127,6 @@ config PCIE_PME config PCIE_DPC bool "PCI Express Downstream Port Containment support" depends on PCIEPORTBUS && PCIEAER - default n help This enables PCI Express Downstream Port Containment (DPC) driver support. DPC events from Root and Downstream ports @@ -139,7 +136,6 @@ config PCIE_DPC config PCIE_PTM bool "PCI Express Precision Time Measurement support" - default n depends on PCIEPORTBUS help This enables PCI Express Precision Time Measurement (PTM)