Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

cciss: remove unnecessary casts

parent 16011131
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -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;