projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b571b
)
Staging: comedi: das1800: fix kfree coding style issue
author
David Binderman
<dcb314@hotmail.com>
Fri, 19 Mar 2010 09:28:07 +0000
(09:28 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:35:38 +0000
(11:35 -0700)
Signed-off-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/das1800.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/das1800.c
b/drivers/staging/comedi/drivers/das1800.c
index 3c3e0455c7c412077f2066b71881edada32fd5f0..d91c2d9d595b0d60345278d718040ba6dfc4526b 100644
(file)
--- a/
drivers/staging/comedi/drivers/das1800.c
+++ b/
drivers/staging/comedi/drivers/das1800.c
@@
-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,