Skip to contentSkip to conversation

isdn: hisax: Merge Kconfig ifs

PATCH Applied Jean Delvare 2 participants 4 messages Jun 16, 2014 – Jun 17, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 isdn: hisax: Merge Kconfig ifs

The first half of the HiSax config options is presented if ISDN_DRV_HISAX!=n, while the second half of the options is presented if ISDN_DRV_HISAX. That's the same, so merge both conditionals.

---
 drivers/isdn/hisax/Kconfig |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/isdn/hisax/Kconfig +1 -5
@@ -16,7 +16,7 @@ config ISDN_DRV_HISAX
 	  also to the configuration option of the driver for your particular
 	  card, below.
 
-if ISDN_DRV_HISAX!=n
+if ISDN_DRV_HISAX
 
 comment "D-channel protocol features"
 
@@ -348,10 +348,6 @@ config HISAX_ENTERNOW_PCI
 	  This enables HiSax support for the Formula-n enter:now PCI
 	  ISDN card.
 
-endif
-
-if ISDN_DRV_HISAX
-
 config HISAX_DEBUG
 	bool "HiSax debugging"
 	help
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw

PATCH 2/2 isdn: hisax: Drop duplicate Kconfig entry

There are 2 HISAX_AVM_A1_PCMCIA Kconfig entries. The kbuild system ignores the second one, and apparently nobody noticed the problem so far, so let's remove that second entry.

---
 drivers/isdn/hisax/Kconfig |    5 -----
 1 file changed, 5 deletions(-)
drivers/isdn/hisax/Kconfig +0 -5
@@ -416,11 +416,6 @@ config HISAX_FRITZ_PCIPNP
 	  (the latter also needs you to select "ISA Plug and Play support"
 	  from the menu "Plug and Play configuration")
 
-config HISAX_AVM_A1_PCMCIA
-	bool
-	depends on HISAX_AVM_A1_CS
-	default y
-
 endif
 
 endmenu
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Applied
#2 lore raw

Re: [PATCH 2/2] isdn: hisax: Drop duplicate Kconfig entry

From: Jean Delvare <[email protected]>
Date: Mon, 16 Jun 2014 10:13:55 +0200

Quoted 5 lines

There are 2 HISAX_AVM_A1_PCMCIA Kconfig entries. The kbuild system ignores the second one, and apparently nobody noticed the problem so far, so let's remove that second entry.

Applied.