diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-06-29 10:15:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 20:49:35 (GMT) |
commit | 764f2ca6e4f7b8d8ce0867c154db42e98a83521e (patch) | |
tree | aa488b0a57353aec05575ec09d7b9fa3f53ccded /drivers/staging/crystalhd/crystalhd_lnx.c | |
parent | 440a65475d9bf0997c28feb206a16ddd87122e22 (diff) | |
download | linux-fsl-qoriq-764f2ca6e4f7b8d8ce0867c154db42e98a83521e.tar.xz |
Staging: crystalhd_lnx: remove casts from void*
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/crystalhd/crystalhd_lnx.c')
-rw-r--r-- | drivers/staging/crystalhd/crystalhd_lnx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/crystalhd/crystalhd_lnx.c b/drivers/staging/crystalhd/crystalhd_lnx.c index 9d2805a..6083969 100644 --- 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; |