diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index 920e50addd3e..73cec14cbf56 100644 --- a/drivers/staging/vme/devices/vme_user.c +++ b/drivers/staging/vme/devices/vme_user.c @@ -482,11 +482,9 @@ static int vme_user_ioctl(struct inode *inode, struct file *file, return -EFAULT; } - retval = vme_irq_generate(vme_user_bridge, + return vme_irq_generate(vme_user_bridge, irq_req.level, irq_req.statid); - - return retval; } break; case MASTER_MINOR: