Commit cb6cf02e authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[PATCH] seagate cleanup

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.
parent ba42caad
......@@ -266,20 +266,6 @@ MODULE_LICENSE("GPL");
#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,
......
......@@ -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 *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment