From: Adrian Bunk <bunk@fs.tum.de>
To: linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [2.5 patch] seagate cleanup
Date: Sun, 22 Jun 2003 02:04:03 +0200 [thread overview]
Message-ID: <20030622000402.GL23337@fs.tum.de> (raw)
The patch below does the following cleanups on
drivers/scsi/seagate.{c,h}:
- remove two unused functions
- remove a function declaration for a function that is no longer present
I've tested the compilation with 2.5.72-mm2.
cu
Adrian
--- linux-2.5.72-mm2/drivers/scsi/seagate.c.old 2003-06-22 01:07:11.000000000 +0200
+++ linux-2.5.72-mm2/drivers/scsi/seagate.c 2003-06-22 01:07:30.000000000 +0200
@@ -266,20 +266,6 @@
#define WRITE_CONTROL(d) { isa_writeb((d), st0x_cr_sr); }
#define WRITE_DATA(d) { isa_writeb((d), st0x_dr); }
-static void st0x_setup (char *str, int *ints)
-{
- controller_type = SEAGATE;
- base_address = ints[1];
- irq = ints[2];
-}
-
-static void tmc8xx_setup (char *str, int *ints)
-{
- controller_type = FD;
- base_address = ints[1];
- irq = ints[2];
-}
-
#ifndef OVERRIDE
static unsigned int seagate_bases[] = {
0xc8000, 0xca000, 0xcc000,
--- linux-2.5.72-mm2/drivers/scsi/seagate.h.old 2003-06-22 01:06:20.000000000 +0200
+++ linux-2.5.72-mm2/drivers/scsi/seagate.h 2003-06-22 01:06:40.000000000 +0200
@@ -10,7 +10,6 @@
#define SEAGATE_H
static int seagate_st0x_detect(Scsi_Host_Template *);
-static int seagate_st0x_command(Scsi_Cmnd *);
static int seagate_st0x_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
static int seagate_st0x_abort(Scsi_Cmnd *);
reply other threads:[~2003-06-22 0:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030622000402.GL23337@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.