summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most/aim-cdev/cdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/most/aim-cdev/cdev.c')
-rw-r--r--drivers/staging/most/aim-cdev/cdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/most/aim-cdev/cdev.c b/drivers/staging/most/aim-cdev/cdev.c
index 1c20ae69c561..5458fb932d86 100644
--- a/drivers/staging/most/aim-cdev/cdev.c
+++ b/drivers/staging/most/aim-cdev/cdev.c
@@ -214,10 +214,7 @@ static ssize_t aim_write(struct file *filp, const char __user *buf,
goto put_mbo;
}
- ret = most_submit_mbo(mbo);
- if (ret)
- goto put_mbo;
-
+ most_submit_mbo(mbo);
mutex_unlock(&c->io_mutex);
return actual_len;
put_mbo: