Received: with ECARTIS (v1.0.0; list netdev); Mon, 18 Apr 2005 19:40:19 -0700 (PDT) Received: from mailout.stusta.mhn.de (mailout.stusta.mhn.de [141.84.69.5]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j3J2eDq3029761 for ; Mon, 18 Apr 2005 19:40:14 -0700 Received: (qmail 6888 invoked from network); 19 Apr 2005 02:40:08 -0000 Received: from r063144.stusta.swh.mhn.de (10.150.63.144) by mailhub.stusta.mhn.de with SMTP; 19 Apr 2005 02:40:08 -0000 Received: by r063144.stusta.swh.mhn.de (Postfix, from userid 1000) id AE416BB58E; Tue, 19 Apr 2005 04:40:07 +0200 (CEST) Date: Tue, 19 Apr 2005 04:40:07 +0200 From: Adrian Bunk To: Jeff Garzik Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: [2.6 patch] drivers/net/hamradio/: cleanups Message-ID: <20050419024007.GU5489@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: ClamAV 0.83/837/Sun Apr 17 08:25:32 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 1847 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: bunk@stusta.de Precedence: bulk X-list: netdev Content-Length: 1234 Lines: 43 This patch contains the following cleanups: - mkiss.c: make a needlessly global variable static - dmascc.c: remove the unused global function dmascc_setup Signed-off-by: Adrian Bunk --- drivers/net/hamradio/dmascc.c | 10 ---------- drivers/net/hamradio/mkiss.c | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) --- linux-2.6.12-rc2-mm3-full/drivers/net/hamradio/dmascc.c.old 2005-04-19 03:04:36.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/net/hamradio/dmascc.c 2005-04-19 03:04:57.000000000 +0200 @@ -311,16 +311,6 @@ } } -#ifndef MODULE -void __init dmascc_setup(char *str, int *ints) -{ - int i; - - for (i = 0; i < MAX_NUM_DEVS && i < ints[0]; i++) - io[i] = ints[i + 1]; -} -#endif - static int __init dmascc_init(void) { int h, i, j, n; --- linux-2.6.12-rc2-mm3-full/drivers/net/hamradio/mkiss.c.old 2005-04-19 03:05:20.000000000 +0200 +++ linux-2.6.12-rc2-mm3-full/drivers/net/hamradio/mkiss.c 2005-04-19 03:05:30.000000000 +0200 @@ -65,7 +65,7 @@ static ax25_ctrl_t **ax25_ctrls; -int ax25_maxdev = AX25_MAXDEV; /* Can be overridden with insmod! */ +static int ax25_maxdev = AX25_MAXDEV; /* Can be overridden with insmod! */ static struct tty_ldisc ax_ldisc;