mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
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:
parent
81b571b771
commit
1bf2ee4ea1
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user