V4L/DVB: drivers/media: Remove unnecessary casts of private_data
[pandora-kernel.git] / drivers / media / video / hdpvr / hdpvr-video.c
index c338f3f..4863a21 100644 (file)
@@ -394,7 +394,7 @@ err:
 
 static int hdpvr_release(struct file *file)
 {
-       struct hdpvr_fh         *fh  = (struct hdpvr_fh *)file->private_data;
+       struct hdpvr_fh         *fh  = file->private_data;
        struct hdpvr_device     *dev = fh->dev;
 
        if (!dev)
@@ -518,7 +518,7 @@ err:
 static unsigned int hdpvr_poll(struct file *filp, poll_table *wait)
 {
        struct hdpvr_buffer *buf = NULL;
-       struct hdpvr_fh *fh = (struct hdpvr_fh *)filp->private_data;
+       struct hdpvr_fh *fh = filp->private_data;
        struct hdpvr_device *dev = fh->dev;
        unsigned int mask = 0;