public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sym53c500_cs: remove bogus call fo free_dma()
@ 2007-01-30 13:23 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-01-30 13:23 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-scsi


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>
---
 drivers/scsi/pcmcia/sym53c500_cs.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c
index 9fb0ea5..5b458d2 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);
 
-- 
1.5.0-rc2.GIT



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-30 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 13:23 [PATCH] sym53c500_cs: remove bogus call fo free_dma() Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox