Commit fcab1c11 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe

cciss: remove unnecessary casts

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 16011131
...@@ -1529,8 +1529,7 @@ static int cciss_bigpassthru(ctlr_info_t *h, void __user *argp) ...@@ -1529,8 +1529,7 @@ static int cciss_bigpassthru(ctlr_info_t *h, void __user *argp)
return -EINVAL; return -EINVAL;
if (!capable(CAP_SYS_RAWIO)) if (!capable(CAP_SYS_RAWIO))
return -EPERM; return -EPERM;
ioc = (BIG_IOCTL_Command_struct *) ioc = kmalloc(sizeof(*ioc), GFP_KERNEL);
kmalloc(sizeof(*ioc), GFP_KERNEL);
if (!ioc) { if (!ioc) {
status = -ENOMEM; status = -ENOMEM;
goto cleanup1; goto cleanup1;
......
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