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/video/hdpvr | |
| 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/video/hdpvr')
| -rw-r--r-- | drivers/media/video/hdpvr/hdpvr-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/hdpvr/hdpvr-video.c b/drivers/media/video/hdpvr/hdpvr-video.c index c338f3f62e7..4863a21b1f2 100644 --- a/drivers/media/video/hdpvr/hdpvr-video.c +++ b/drivers/media/video/hdpvr/hdpvr-video.c | |||
| @@ -394,7 +394,7 @@ err: | |||
| 394 | 394 | ||
| 395 | static int hdpvr_release(struct file *file) | 395 | static int hdpvr_release(struct file *file) |
| 396 | { | 396 | { |
| 397 | struct hdpvr_fh *fh = (struct hdpvr_fh *)file->private_data; | 397 | struct hdpvr_fh *fh = file->private_data; |
| 398 | struct hdpvr_device *dev = fh->dev; | 398 | struct hdpvr_device *dev = fh->dev; |
| 399 | 399 | ||
| 400 | if (!dev) | 400 | if (!dev) |
| @@ -518,7 +518,7 @@ err: | |||
| 518 | static unsigned int hdpvr_poll(struct file *filp, poll_table *wait) | 518 | static unsigned int hdpvr_poll(struct file *filp, poll_table *wait) |
| 519 | { | 519 | { |
| 520 | struct hdpvr_buffer *buf = NULL; | 520 | struct hdpvr_buffer *buf = NULL; |
| 521 | struct hdpvr_fh *fh = (struct hdpvr_fh *)filp->private_data; | 521 | struct hdpvr_fh *fh = filp->private_data; |
| 522 | struct hdpvr_device *dev = fh->dev; | 522 | struct hdpvr_device *dev = fh->dev; |
| 523 | unsigned int mask = 0; | 523 | unsigned int mask = 0; |
| 524 | 524 | ||
