Skip to content

Commit

Permalink
Staging: comedi: pcm3724: remove casts from void*
Browse files Browse the repository at this point in the history
Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Kulikov Vasiliy authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 5f91c7e commit 440a654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/drivers/pcm3724.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 440a654

Please sign in to comment.