diff mbox

[1/2] isdn: hisax: Merge Kconfig ifs

Message ID 1402906177.13305.1.camel@chaos.site
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Jean Delvare June 16, 2014, 8:09 a.m. UTC
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.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Karsten Keil <isdn@linux-pingi.de>
---
 drivers/isdn/hisax/Kconfig |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Comments

David Miller June 17, 2014, 4:31 a.m. UTC | #1
From: Jean Delvare <jdelvare@suse.de>
Date: Mon, 16 Jun 2014 10:09:37 +0200

> 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.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/isdn/hisax/Kconfig
+++ b/drivers/isdn/hisax/Kconfig
@@ -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