diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 20:50:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 21:43:51 (GMT) |
commit | ba952d84e1d45df80e125d4abc64f3b778ae6dd7 (patch) | |
tree | 38414036ccd832df3cdf200f97292190c7d45581 /drivers/staging/easycap/easycap_main.c | |
parent | f69b0d6451679f1466381a46ac7ab671a7b5668c (diff) | |
download | linux-fsl-qoriq-ba952d84e1d45df80e125d4abc64f3b778ae6dd7.tar.xz |
Staging: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/easycap/easycap_main.c')
-rw-r--r-- | drivers/staging/easycap/easycap_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/easycap/easycap_main.c b/drivers/staging/easycap/easycap_main.c index f7a65af..09c194c 100644 --- a/drivers/staging/easycap/easycap_main.c +++ b/drivers/staging/easycap/easycap_main.c @@ -527,7 +527,7 @@ struct easycap *peasycap; JOT(4, "\n"); -peasycap = (struct easycap *)file->private_data; +peasycap = file->private_data; if (NULL == peasycap) { SAY("ERROR: peasycap is NULL.\n"); SAY("ending unsuccessfully\n"); @@ -819,7 +819,7 @@ if (NULL == ((struct file *)file)) { SAY("ERROR: file pointer is NULL\n"); return -EFAULT; } -peasycap = (struct easycap *)file->private_data; +peasycap = file->private_data; if (NULL == peasycap) { SAY("ERROR: peasycap is NULL\n"); return -EFAULT; |