mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-08 16:24:01 +00:00
scsi: aha1740: stop using scsi_unregister
aha1740 doesn't use scsi_register, so it should not use scsi_unregister either. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
59ee56697b
commit
1dc09e120c
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ static int aha1740_probe (struct device *dev)
|
||||||
DMA_BIDIRECTIONAL);
|
DMA_BIDIRECTIONAL);
|
||||||
if (!host->ecb_dma_addr) {
|
if (!host->ecb_dma_addr) {
|
||||||
printk (KERN_ERR "aha1740_probe: Couldn't map ECB, giving up\n");
|
printk (KERN_ERR "aha1740_probe: Couldn't map ECB, giving up\n");
|
||||||
scsi_unregister (shpnt);
|
scsi_host_put (shpnt);
|
||||||
goto err_host_put;
|
goto err_host_put;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue