mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
Staging: comedi: pcm3724: remove casts from void*
Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5f91c7ed1e
commit
440a65475d
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user