Skip to content

Commit

Permalink
USB: isd200.c: Remove unnecessary kmalloc cast
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent dc6eb27 commit a5cc804
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/storage/isd200.c
Original file line number Diff line number Diff line change
Expand Up @@ -1456,8 +1456,7 @@ static int isd200_init_info(struct us_data *us)
int retStatus = ISD200_GOOD;
struct isd200_info *info;

info = (struct isd200_info *)
kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
info = kzalloc(sizeof(struct isd200_info), GFP_KERNEL);
if (!info)
retStatus = ISD200_ERROR;
else {
Expand Down

0 comments on commit a5cc804

Please sign in to comment.