summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/sym53c500_cs.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-01-30 14:23:35 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 17:39:20 +0100
commit9a696b4f3c5664c2c4815cc8e37256e51a3425e1 (patch)
tree236f442017c9854c1bb55ef802f5031930cb1d5c /drivers/scsi/pcmcia/sym53c500_cs.c
parent[PATCH] mtd/nand/cafe.c missing include of dma-mapping.h (diff)
downloadlinux-9a696b4f3c5664c2c4815cc8e37256e51a3425e1.tar.xz
linux-9a696b4f3c5664c2c4815cc8e37256e51a3425e1.zip
[PATCH] sym53c500_cs: remove bogus call fo free_dma()
What DMA for 16bit pcmcia card, anyway? We never do request_dma() there and ->dma_channel never changes since initialization to -1. IOW, that call is dead code. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/pcmcia/sym53c500_cs.c')
-rw-r--r--drivers/scsi/pcmcia/sym53c500_cs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c
index 9fb0ea5c1fb9..5b458d2478f7 100644
--- a/drivers/scsi/pcmcia/sym53c500_cs.c
+++ b/drivers/scsi/pcmcia/sym53c500_cs.c
@@ -545,8 +545,6 @@ SYM53C500_release(struct pcmcia_device *link)
*/
if (shost->irq)
free_irq(shost->irq, shost);
- if (shost->dma_channel != 0xff)
- free_dma(shost->dma_channel);
if (shost->io_port && shost->n_io_port)
release_region(shost->io_port, shost->n_io_port);