Commit a5cc8049 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

USB: isd200.c: Remove unnecessary kmalloc cast

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dc6eb27b
...@@ -1456,8 +1456,7 @@ static int isd200_init_info(struct us_data *us) ...@@ -1456,8 +1456,7 @@ static int isd200_init_info(struct us_data *us)
int retStatus = ISD200_GOOD; int retStatus = ISD200_GOOD;
struct isd200_info *info; struct isd200_info *info;
info = (struct isd200_info *) info = kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
if (!info) if (!info)
retStatus = ISD200_ERROR; retStatus = ISD200_ERROR;
else { else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment