OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f91c7e
)
Staging: comedi: pcm3724: remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:15:36 +0000
(14:15 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Jul 2010 20:46:59 +0000
(13:46 -0700)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcm3724.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/pcm3724.c
b/drivers/staging/comedi/drivers/pcm3724.c
index
2685095
..
7fb3c27
100644
(file)
--- a/
drivers/staging/comedi/drivers/pcm3724.c
+++ b/
drivers/staging/comedi/drivers/pcm3724.c
@@
-195,7
+195,7
@@
static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s,
struct priv_pcm3724 *priv;
gatecfg = 0;
- priv =
(struct priv_pcm3724 *)(dev->private)
;
+ priv =
dev->private
;
mask = 1 << CR_CHAN(chanspec);
if (s == dev->subdevices) /* subdev 0 */