diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 16:50:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 15:42:53 -0400 |
commit | abf84383ecadc8ada1963f9976e887c6f0b1bad9 (patch) | |
tree | 34f369a2f7ee7dc3f42d36f487219fbd0782a265 /drivers/media/dvb | |
parent | 1676e4ab55944d483695f51e46b1e629af59706e (diff) |
V4L/DVB: drivers/media: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst_ca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dst_ca.c b/drivers/media/dvb/bt8xx/dst_ca.c index 770243c720d2..cf8705162845 100644 --- a/drivers/media/dvb/bt8xx/dst_ca.c +++ b/drivers/media/dvb/bt8xx/dst_ca.c | |||
@@ -565,7 +565,7 @@ static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioct | |||
565 | int result = 0; | 565 | int result = 0; |
566 | 566 | ||
567 | lock_kernel(); | 567 | lock_kernel(); |
568 | dvbdev = (struct dvb_device *)file->private_data; | 568 | dvbdev = file->private_data; |
569 | state = (struct dst_state *)dvbdev->priv; | 569 | state = (struct dst_state *)dvbdev->priv; |
570 | p_ca_message = kmalloc(sizeof (struct ca_msg), GFP_KERNEL); | 570 | p_ca_message = kmalloc(sizeof (struct ca_msg), GFP_KERNEL); |
571 | p_ca_slot_info = kmalloc(sizeof (struct ca_slot_info), GFP_KERNEL); | 571 | p_ca_slot_info = kmalloc(sizeof (struct ca_slot_info), GFP_KERNEL); |