diff options
author | Joe Perches <joe@perches.com> | 2010-05-31 20:23:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 14:35:34 -0700 |
commit | a5cc8049ca8ec8b09b9649f32b6e37f94345ddb8 (patch) | |
tree | 9117ba882c5bfaf348d919f05d874848fd4a59c3 /drivers/usb/storage/isd200.c | |
parent | dc6eb27bdd3d214568f7d77a317c202c10222511 (diff) | |
download | kernel_samsung_tuna-a5cc8049ca8ec8b09b9649f32b6e37f94345ddb8.zip kernel_samsung_tuna-a5cc8049ca8ec8b09b9649f32b6e37f94345ddb8.tar.gz kernel_samsung_tuna-a5cc8049ca8ec8b09b9649f32b6e37f94345ddb8.tar.bz2 |
USB: isd200.c: Remove unnecessary kmalloc cast
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/isd200.c')
-rw-r--r-- | drivers/usb/storage/isd200.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/storage/isd200.c b/drivers/usb/storage/isd200.c index e9cbc14..6b9982c 100644 --- a/drivers/usb/storage/isd200.c +++ b/drivers/usb/storage/isd200.c @@ -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 { |