diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 22:50:00 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-07-13 09:59:32 +0200 |
commit | 80792d182e43bee89fce509e64fdea27e600530f (patch) | |
tree | 058b752acfb8089f8ff000ffecc5842c20996b84 /drivers/ieee1394/dv1394.c | |
parent | firewire: core: integrate software-forced bus resets with bus management (diff) | |
download | linux-80792d182e43bee89fce509e64fdea27e600530f.tar.xz linux-80792d182e43bee89fce509e64fdea27e600530f.zip |
ieee1394: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/dv1394.c')
-rw-r--r-- | drivers/ieee1394/dv1394.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c index f8fcbd048447..c5a031b79d03 100644 --- a/drivers/ieee1394/dv1394.c +++ b/drivers/ieee1394/dv1394.c @@ -172,7 +172,7 @@ static DEFINE_SPINLOCK(dv1394_cards_lock); static inline struct video_card* file_to_video_card(struct file *file) { - return (struct video_card*) file->private_data; + return file->private_data; } /*** FRAME METHODS *********************************************************/ @@ -1783,7 +1783,7 @@ static int dv1394_open(struct inode *inode, struct file *file) struct video_card *video = NULL; if (file->private_data) { - video = (struct video_card*) file->private_data; + video = file->private_data; } else { /* look up the card by ID */ |