diff mbox

[TRIVIAL] atm: remove commented out check

Message ID 1401203232.28714.10.camel@x220
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Paul Bolle May 27, 2014, 3:07 p.m. UTC
This preprocessor check is commented out ever since this file was added
during the v2.3 development cycle. It is unclear what it purpose might
have been. Whatever it was, it can safely be removed now.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Compile tested.

Perhaps someone on netdev knows what CONFIG_SINGLE_SIGITF might have
been for. Not that it actually matters.

 net/atm/svc.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Comments

David Miller May 31, 2014, 12:17 a.m. UTC | #1
From: Paul Bolle <pebolle@tiscali.nl>
Date: Tue, 27 May 2014 17:07:12 +0200

> This preprocessor check is commented out ever since this file was added
> during the v2.3 development cycle. It is unclear what it purpose might
> have been. Whatever it was, it can safely be removed now.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Compile tested.
> 
> Perhaps someone on netdev knows what CONFIG_SINGLE_SIGITF might have
> been for. Not that it actually matters.

Yeah it can't actually matter, applied to net-next, thanks.
--
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

diff --git a/net/atm/svc.c b/net/atm/svc.c
index 1281049c135f..d8e5d0c2ebbc 100644
--- a/net/atm/svc.c
+++ b/net/atm/svc.c
@@ -263,17 +263,11 @@  static int svc_connect(struct socket *sock, struct sockaddr *sockaddr,
 			goto out;
 		}
 	}
-/*
- * Not supported yet
- *
- * #ifndef CONFIG_SINGLE_SIGITF
- */
+
 	vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp);
 	vcc->qos.txtp.pcr = 0;
 	vcc->qos.txtp.min_pcr = 0;
-/*
- * #endif
- */
+
 	error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci);
 	if (!error)
 		sock->state = SS_CONNECTED;