Skip to contentSkip to conversation

sym53c500_cs: remove bogus call fo free_dma()

PATCH New Al Viro 1 participant 1 message Jan 30, 2007 SCSI

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/scsi/pcmcia/sym53c500_cs.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/scsi/pcmcia/sym53c500_cs.c +0 -2
index 9fb0ea5..5b458d2 100644
@@ -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);
 
Signature · 1 line
1.5.0-rc2.GIT