From 440a65475d9bf0997c28feb206a16ddd87122e22 Mon Sep 17 00:00:00 2001 From: Kulikov Vasiliy Date: Tue, 29 Jun 2010 14:15:36 +0400 Subject: [PATCH] Staging: comedi: pcm3724: remove casts from void* Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/pcm3724.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/pcm3724.c b/drivers/staging/comedi/drivers/pcm3724.c index 26850954442f..7fb3c27e5979 100644 --- 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 */ -- 2.20.1