aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-03-12 04:02:24 -0500
committerJens Axboe <jaxboe@fusionio.com>2011-03-12 04:02:24 -0500
commitfcab1c112ade881d884cd7b8161f7543194d12e1 (patch)
tree88e6e397becfcca3fd8003b2309bb5a45a4f4d8e /drivers/block/cciss.c
parent16011131ced8bdb317e1bf03324ca78a27fa0a1c (diff)
cciss: remove unnecessary casts
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index f21116cb8b82..25267e92ce31 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -1529,8 +1529,7 @@ static int cciss_bigpassthru(ctlr_info_t *h, void __user *argp)
1529 return -EINVAL; 1529 return -EINVAL;
1530 if (!capable(CAP_SYS_RAWIO)) 1530 if (!capable(CAP_SYS_RAWIO))
1531 return -EPERM; 1531 return -EPERM;
1532 ioc = (BIG_IOCTL_Command_struct *) 1532 ioc = kmalloc(sizeof(*ioc), GFP_KERNEL);
1533 kmalloc(sizeof(*ioc), GFP_KERNEL);
1534 if (!ioc) { 1533 if (!ioc) {
1535 status = -ENOMEM; 1534 status = -ENOMEM;
1536 goto cleanup1; 1535 goto cleanup1;