summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/most/aim-cdev/cdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/aim-cdev/cdev.c b/drivers/staging/most/aim-cdev/cdev.c
index bff891f..b293078 100644
--- a/drivers/staging/most/aim-cdev/cdev.c
+++ b/drivers/staging/most/aim-cdev/cdev.c
@@ -254,7 +254,7 @@ start_copy:
mbo->virt_address + channel->mbo_offs,
to_copy);
- copied = not_copied ? to_copy - not_copied : to_copy;
+ copied = to_copy - not_copied;
if (count < mbo->processed_length) {
channel->mbo_offs = copied;
OpenPOWER on IntegriCloud