Commit 9a696b4f authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a1274302
...@@ -545,8 +545,6 @@ SYM53C500_release(struct pcmcia_device *link) ...@@ -545,8 +545,6 @@ SYM53C500_release(struct pcmcia_device *link)
*/ */
if (shost->irq) if (shost->irq)
free_irq(shost->irq, shost); free_irq(shost->irq, shost);
if (shost->dma_channel != 0xff)
free_dma(shost->dma_channel);
if (shost->io_port && shost->n_io_port) if (shost->io_port && shost->n_io_port)
release_region(shost->io_port, shost->n_io_port); release_region(shost->io_port, shost->n_io_port);
......
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