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>
This commit is contained in:
Kulikov Vasiliy 2010-06-29 14:15:43 +04:00 committed by Greg Kroah-Hartman
parent 440a65475d
commit 764f2ca6e4
1 changed files with 2 additions and 2 deletions

View File

@ -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;