Staging: comedi: das1800: fix kfree coding style issue

Signed-off-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
David Binderman 2010-03-19 09:28:07 +00:00 committed by Greg Kroah-Hartman
parent 81b571b771
commit 1bf2ee4ea1

View File

@ -797,10 +797,8 @@ static int das1800_detach(struct comedi_device *dev)
free_dma(devpriv->dma0);
if (devpriv->dma1)
free_dma(devpriv->dma1);
if (devpriv->ai_buf0)
kfree(devpriv->ai_buf0);
if (devpriv->ai_buf1)
kfree(devpriv->ai_buf1);
kfree(devpriv->ai_buf0);
kfree(devpriv->ai_buf1);
}
printk("comedi%d: %s: remove\n", dev->minor,