projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440a654
)
Staging: crystalhd_lnx: remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:15:43 +0000
(14:15 +0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 8 Jul 2010 20:49:35 +0000
(13:49 -0700)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/crystalhd/crystalhd_lnx.c
patch
|
blob
|
history
diff --git
a/drivers/staging/crystalhd/crystalhd_lnx.c
b/drivers/staging/crystalhd/crystalhd_lnx.c
index
9d2805a
..
6083969
100644
(file)
--- a/
drivers/staging/crystalhd/crystalhd_lnx.c
+++ b/
drivers/staging/crystalhd/crystalhd_lnx.c
@@
-271,7
+271,7
@@
static long chd_dec_ioctl(struct file *fd, unsigned int cmd, unsigned long ua)
return -EINVAL;
}
- uc =
(struct crystalhd_user *)
fd->private_data;
+ uc = fd->private_data;
if (!uc) {
BCMLOG_ERR("Failed to get uc\n");
return -ENODATA;
@@
-332,7
+332,7
@@
static int chd_dec_close(struct inode *in, struct file *fd)
return -EINVAL;
}
- uc =
(struct crystalhd_user *)
fd->private_data;
+ uc = fd->private_data;
if (!uc) {
BCMLOG_ERR("Failed to get uc\n");
return -ENODATA;