Commit f39edadd authored by Linus Torvalds's avatar Linus Torvalds
parents 7ea66001 f5908267
...@@ -158,10 +158,11 @@ static ssize_t rng_dev_read(struct file *filp, char __user *buf, ...@@ -158,10 +158,11 @@ static ssize_t rng_dev_read(struct file *filp, char __user *buf,
goto out; goto out;
} }
} }
out_unlock:
mutex_unlock(&rng_mutex);
out: out:
return ret ? : err; return ret ? : err;
out_unlock:
mutex_unlock(&rng_mutex);
goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment