Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1262964 > unrolled thread

[PATCH] pinctrl: remove redundant if conditional from Kconfig

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2015-11-05 08:10 +0100
Last post2015-11-05 08:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] pinctrl: remove redundant if conditional from Kconfig Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-11-05 08:10 +0100

#1262964 — [PATCH] pinctrl: remove redundant if conditional from Kconfig

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2015-11-05 08:10 +0100
Subject[PATCH] pinctrl: remove redundant if conditional from Kconfig
Message-ID<qrmQh-3q6-3@gated-at.bofh.it>
The whole menu is guarded by

  menu "Pin controllers"
          depends on PINCTRL
      ...
  endmenu

The if conditional outside of it is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/pinctrl/Kconfig | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index b422e4e..312c78b 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -5,8 +5,6 @@
 config PINCTRL
 	bool
 
-if PINCTRL
-
 menu "Pin controllers"
 	depends on PINCTRL
 
@@ -274,5 +272,3 @@ config PINCTRL_TB10X
 	select GPIOLIB
 
 endmenu
-
-endif
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web