Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1022380imm; Wed, 10 Oct 2018 08:01:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ld6DTvatfi2s+pWzLjR+Qtj3lqpt3hspisoras2txWiQ3dOmD00WV+g1XShGDIQuqyW1j X-Received: by 2002:a63:6781:: with SMTP id b123-v6mr30224665pgc.151.1539183704798; Wed, 10 Oct 2018 08:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539183704; cv=none; d=google.com; s=arc-20160816; b=cUaHdl5qI5sBKFCXbiJPaizB48cZouA9uxjSvNO951GPodR8eUhqWclZBIUMtpvGZR /tlxlZXAw9Hqz08QqdRV12kOL4c3hms2vaH/NM2mJkM+SaxEx9JeLV8ZyN8qlkCVdf1g AkbPmuxOr+tHeEoKA/JwvyneYaTexxIriO4DJqBzZTbvfGPfecSWFtBPMkgdl3n0RbTz pG1zhW46PbkmBaGlj+gqyj2GYvyOdI10ZLdYrxZ6OlMHPvXRpRAbzOokRD9E1JpCSTf8 cEjQwQV1NtpOAE8UpK0KU93XaakrPqYK+zEoKGXUULIlCEWBDMDWkDVigKuE6krupw9R vYvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id :content-transfer-encoding:mime-version:user-agent:date:subject:from :cc:to:dkim-signature:dkim-filter; bh=oohU+Xj20Wd1dJ35XDGtxX8ZWJZbNodD+gKAMZxWLPw=; b=VX50KAvTPdgRa2I6YH4hddmaQZCByNfu4wOSaBNwsaJ9aUUWbjoCj9bVZj2aHdIXol gENWpFOHk9d7uZR7uzRSD0Hbazrwj1qcfcoJN8nQOBURFs1rrN/LA3ycPim/6pFlkaAK +5PYhf65/o8SDhYlAdzITKzkbj9/3ylCEdwSnpZaXPoJOJQPtFpq4Frk/XJnR65yoIll DKtaulZRKY9GIz7nyLYPozMJRVyKZDDGw6ew6QXC8uFw0DhHT93MjyIAhVhJH73JJg9Y h6iYEuMr9Q47gKy78RVjI2SY+R105o6VGZ3v+KKITn0mTDCmfngEUdAqSG75neYZj8EN XrJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K0dIvQEf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si25526644plg.179.2018.10.10.08.01.29; Wed, 10 Oct 2018 08:01:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K0dIvQEf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbeJJWXc (ORCPT + 99 others); Wed, 10 Oct 2018 18:23:32 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:39926 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbeJJWXc (ORCPT ); Wed, 10 Oct 2018 18:23:32 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181010150057euoutp010607980f41f31fb85f95bc872854eea2~cR2Grhs0R2174021740euoutp01N for ; Wed, 10 Oct 2018 15:00:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181010150057euoutp010607980f41f31fb85f95bc872854eea2~cR2Grhs0R2174021740euoutp01N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539183657; bh=oohU+Xj20Wd1dJ35XDGtxX8ZWJZbNodD+gKAMZxWLPw=; h=To:Cc:From:Subject:Date:References:From; b=K0dIvQEfkt0jhL8gKGuXxEqev3Tr2i2Gqu6wIsUSUfTQKwtAteLTMc4x69cYd7iyv 0gnY1vMv6c4ayhgWLq1tMf8RzlRyInvmd7SXk2XrFicINdJHCfPHrQE+6m5fUEoAas coeYitgTHUnEXKY/TBYVIitlR9zE74IUxOQiu/jE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181010150056eucas1p2455d0b86220939fb627e116cba403658~cR2GN7XcP2073720737eucas1p2s; Wed, 10 Oct 2018 15:00:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id DC.A3.04806.8241EBB5; Wed, 10 Oct 2018 16:00:56 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181010150055eucas1p1b50d2fa2333e2b0b84f90c14fb06111b~cR2FGBz6f2704627046eucas1p1B; Wed, 10 Oct 2018 15:00:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181010150055eusmtrp281f3c8182583d118fc0c2c9dcb39ea06~cR2E08opG3143631436eusmtrp28; Wed, 10 Oct 2018 15:00:55 +0000 (GMT) X-AuditID: cbfec7f5-79db79c0000012c6-25-5bbe14281c5a Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 42.93.04128.7241EBB5; Wed, 10 Oct 2018 16:00:55 +0100 (BST) Received: from [106.120.53.102] (unknown [106.120.53.102]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20181010150055eusmtip147c981e05166ce9b622c7d78bfea3c3b~cR2Ej5lMV1835918359eusmtip1V; Wed, 10 Oct 2018 15:00:55 +0000 (GMT) To: Ley Foon Tan Cc: nios2-dev@lists.rocketboards.org, linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz Subject: [PATCH] nios2: remove redundant 'default n' from Kconfig-s Date: Wed, 10 Oct 2018 17:00:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsWy7djPc7oaIvuiDf6vFLd4OuEOm8XlXXPY LLpmPWVzYPZo3TuBzePq8iVMHp83yQUwR3HZpKTmZJalFunbJXBlPHm9ir3gnnxF27VdTA2M ZyS6GDk5JARMJA4eWcTexcjFISSwglHi0rknbBDOF0aJJ7M/MEM4nxklbt3YzwzTsu33f1aI xHJGiYmd96Cc90BVz9eyglSJCChLTN98iwnEZhZwkmid38QOYrMJWElMbF/FCGILCzhLTL2w nqWLkYODRUBV4vsMFxBTVCBCov+MOkgFr4CgxMmZT1ggpshLbH87B+wgCYH7bBLde+ayg9Tz CpRJ7O/kgbjNRaK78QoLhC0s8er4FnYIW0bi/875TBC90xkl3vxaygLhrGeUWHPmGBNElbXE 4eMXWUGGMgtoSqzfpQ8RdpRo69jMBhKWEOCTuPFWEOIePolJ26YzQ4R5JTrahCCq1SQ2LNvA BrO2a+dKaLB5SLw83wl2sZBArETLd/0JjAqzkDw5C8mTsxBOWMDIvIpRPLW0ODc9tdg4L7Vc rzgxt7g0L10vOT93EyMwVZz+d/zrDsZ9f5IOMQpwMCrx8DZc2BMtxJpYVlyZe4hRgoNZSYSX QWBftBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeZfM2RgsJpCeWpGanphakFsFkmTg4pRoY53Hq zxMX2HAsw//EbsPZfz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B@eucas1p1.samsung.com> X-CMS-MailID: 20181010150055eucas1p1b50d2fa2333e2b0b84f90c14fb06111b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20181010150055eucas1p1b50d2fa2333e2b0b84f90c14fb06111b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181010150055eucas1p1b50d2fa2333e2b0b84f90c14fb06111b References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org '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 --- arch/nios2/Kconfig | 1 - arch/nios2/platform/Kconfig.platform | 9 --------- 2 files changed, 10 deletions(-) Index: b/arch/nios2/Kconfig =================================================================== --- a/arch/nios2/Kconfig 2018-10-09 15:58:36.543122877 +0200 +++ b/arch/nios2/Kconfig 2018-10-10 16:57:50.411927641 +0200 @@ -126,7 +126,6 @@ config NIOS2_CMDLINE_IGNORE_DTB config NIOS2_PASS_CMDLINE bool "Passed kernel command line from u-boot" - default n help Use bootargs env variable from u-boot for kernel command line. will override "Default kernel command string". Index: b/arch/nios2/platform/Kconfig.platform =================================================================== --- a/arch/nios2/platform/Kconfig.platform 2018-09-03 18:11:12.057792442 +0200 +++ b/arch/nios2/platform/Kconfig.platform 2018-10-10 16:58:37.951928838 +0200 @@ -17,7 +17,6 @@ comment "Device tree" config NIOS2_DTB_AT_PHYS_ADDR bool "DTB at physical address" - default n help When enabled you can select a physical address to load the dtb from. Normally this address is passed by a bootloader such as u-boot but @@ -37,7 +36,6 @@ config NIOS2_DTB_PHYS_ADDR config NIOS2_DTB_SOURCE_BOOL bool "Compile and link device tree into kernel image" - default n help This allows you to specify a dts (device tree source) file which will be compiled and linked into the kernel image. @@ -62,21 +60,18 @@ config NIOS2_ARCH_REVISION config NIOS2_HW_MUL_SUPPORT bool "Enable MUL instruction" - default n help Set to true if you configured the Nios II to include the MUL instruction. This will enable the -mhw-mul compiler flag. config NIOS2_HW_MULX_SUPPORT bool "Enable MULX instruction" - default n help Set to true if you configured the Nios II to include the MULX instruction. Enables the -mhw-mulx compiler flag. config NIOS2_HW_DIV_SUPPORT bool "Enable DIV instruction" - default n help Set to true if you configured the Nios II to include the DIV instruction. Enables the -mhw-div compiler flag. @@ -84,7 +79,6 @@ config NIOS2_HW_DIV_SUPPORT config NIOS2_BMX_SUPPORT bool "Enable BMX instructions" depends on NIOS2_ARCH_REVISION = 2 - default n help Set to true if you configured the Nios II R2 to include the BMX Bit Manipulation Extension instructions. Enables @@ -93,7 +87,6 @@ config NIOS2_BMX_SUPPORT config NIOS2_CDX_SUPPORT bool "Enable CDX instructions" depends on NIOS2_ARCH_REVISION = 2 - default n help Set to true if you configured the Nios II R2 to include the CDX Bit Manipulation Extension instructions. Enables @@ -101,13 +94,11 @@ config NIOS2_CDX_SUPPORT config NIOS2_FPU_SUPPORT bool "Custom floating point instr support" - default n help Enables the -mcustom-fpu-cfg=60-1 compiler flag. config NIOS2_CI_SWAB_SUPPORT bool "Byteswap custom instruction" - default n help Use the byteswap (endian converter) Nios II custom instruction provided by Altera and which can be enabled in QSYS builder. This accelerates