]> err.no Git - linux-2.6/commitdiff
[PATCH] drivers/net/hamradio/dmascc.c: remove dmascc_setup()
authorAdrian Bunk <bunk@stusta.de>
Mon, 31 Oct 2005 00:33:45 +0000 (01:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 6 Nov 2005 02:00:01 +0000 (21:00 -0500)
It seems dmascc_setup() is a leftover time before dmascc_init() was
there.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/hamradio/dmascc.c

index 3be3f916643a17fcb53574f83cf39d8c8ae5bb9e..c8dc40214a087f752a0be4ce7b644e7c24fc223c 100644 (file)
@@ -311,16 +311,6 @@ static void __exit dmascc_exit(void)
        }
 }
 
-#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;