Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753781Ab2KEJLt (ORCPT ); Mon, 5 Nov 2012 04:11:49 -0500 Received: from cpsmtpb-ews06.kpnxchange.com ([213.75.39.9]:53997 "EHLO cpsmtpb-ews06.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753690Ab2KEJLr (ORCPT ); Mon, 5 Nov 2012 04:11:47 -0500 Message-ID: <1352106704.1434.25.camel@x61.thuisdomein> Subject: Re: [PATCH 8/9] isdn: Remove unused variable causing a compile build warning From: Paul Bolle To: Lee Jones Cc: David Miller , linux-kernel@vger.kernel.org, isdn@linux-pingi.de, netdev@vger.kernel.org Date: Mon, 05 Nov 2012 10:11:44 +0100 In-Reply-To: <20121105084419.GC2699@gmail.com> References: <20121103224832.GA24262@gmail.com> <1352024091.1434.17.camel@x61.thuisdomein> <20121104105332.GC27124@gmail.com> <20121104.123013.700345271120279281.davem@davemloft.net> <20121105084419.GC2699@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Nov 2012 09:11:45.0694 (UTC) FILETIME=[942843E0:01CDBB35] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 20 On Mon, 2012-11-05 at 09:44 +0100, Lee Jones wrote: > On Sun, 04 Nov 2012, David Miller wrote: > > I think the most appropriate thing to do is make CONFIG_ISDN depend > > upon CONFIG_NETDEVICES in the Kconfig file. > > ... and then remove the CONFIG_NETDEVICES guards in isdn_common.c? If ISDN would depend on NETDEVICES, ISDN_I4L would too, since it depends on ISDN. In that case CONFIG_NETDEVICES would always be true when compiling isdn_common.c. That would make these guards pointless. (The dependency of ISDN_PPP on NETDEVICES would then also be pointless.) Paul Bolle -- 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/