[2.6 patch] SCSI t128.c: remove an unused function

From: Adrian Bunk
Date: Sun Nov 14 2004 - 22:31:45 EST


The patch below removes the unused function t128_setup.

Please review whether it's correct.


diffstat output:
drivers/scsi/t128.c | 28 ----------------------------
1 files changed, 28 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm5-full/drivers/scsi/t128.c.old 2004-11-14 01:31:48.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/t128.c 2004-11-14 01:37:27.000000000 +0100
@@ -154,34 +154,6 @@

#define NO_SIGNATURES (sizeof (signatures) / sizeof (struct signature))

-/*
- * Function : t128_setup(char *str, int *ints)
- *
- * Purpose : LILO command line initialization of the overrides array,
- *
- * Inputs : str - unused, ints - array of integer parameters with ints[0]
- * equal to the number of ints.
- *
- */
-
-void __init t128_setup(char *str, int *ints){
- static int commandline_current = 0;
- int i;
- if (ints[0] != 2)
- printk("t128_setup : usage t128=address,irq\n");
- else
- if (commandline_current < NO_OVERRIDES) {
- overrides[commandline_current].address = ints[1];
- overrides[commandline_current].irq = ints[2];
- for (i = 0; i < NO_BASES; ++i)
- if (bases[i].address == ints[1]) {
- bases[i].noauto = 1;
- break;
- }
- ++commandline_current;
- }
-}
-
/*
* Function : int t128_detect(Scsi_Host_Template * tpnt)
*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/