From: Adrian Bunk <bunk@stusta.de>
To: James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [2.6 patch] SCSI t128.c: remove an unused function
Date: Mon, 15 Nov 2004 03:38:59 +0100 [thread overview]
Message-ID: <20041115023859.GE2249@stusta.de> (raw)
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@stusta.de>
--- 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)
*
next reply other threads:[~2004-11-15 3:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-15 2:38 Adrian Bunk [this message]
2004-11-15 14:40 ` [2.6 patch] SCSI t128.c: remove an unused function Alan Cox
2004-11-15 17:03 ` Adrian Bunk
2004-11-15 19:49 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041115023859.GE2249@stusta.de \
--to=bunk@stusta.de \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox