Commit 2ca95755 authored by David S. Miller's avatar David S. Miller

[SPARC]: ESP scsi driver already has a release method, do not add a second one :-)

parent 61ff8e7e
...@@ -1237,17 +1237,6 @@ static int esp_release(struct Scsi_Host *host) ...@@ -1237,17 +1237,6 @@ static int esp_release(struct Scsi_Host *host)
return 0; return 0;
} }
/* this is clearly wrong for esp.. */
static int esp_release(struct Scsi_Host *shost)
{
if (shost->irq)
free_irq(shost->irq, NULL);
if (shost->io_port && shost->n_io_port)
release_region(shost->io_port, shost->n_io_port);
scsi_unregister(shost);
return 0;
}
/* The info function will return whatever useful /* The info function will return whatever useful
* information the developer sees fit. If not provided, then * information the developer sees fit. If not provided, then
* the name field will be used instead. * the name field will be used instead.
...@@ -4391,7 +4380,6 @@ static Scsi_Host_Template driver_template = { ...@@ -4391,7 +4380,6 @@ static Scsi_Host_Template driver_template = {
.proc_info = esp_proc_info, .proc_info = esp_proc_info,
.name = "Sun ESP 100/100a/200", .name = "Sun ESP 100/100a/200",
.detect = esp_detect, .detect = esp_detect,
.release = esp_release,
.slave_alloc = esp_slave_alloc, .slave_alloc = esp_slave_alloc,
.slave_destroy = esp_slave_destroy, .slave_destroy = esp_slave_destroy,
.release = esp_release, .release = esp_release,
......
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