Staging: comedi: pcm3724: remove casts from void*
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 29 Jun 2010 10:15:36 +0000 (14:15 +0400)
committerGreg 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

index 26850954442f11e6951f184579485d0c1cd28e8f..7fb3c27e5979ce1b42eaf7e1a166aa95ed4b0a48 100644 (file)
@@ -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 */