Commit cd1510cb authored by Herbert Xu's avatar Herbert Xu

random: Remove unused inode variable

The previous changeset left behind an unused inode variable.
This patch removes it.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent a8d7ac27
...@@ -1101,7 +1101,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer, ...@@ -1101,7 +1101,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer,
size_t count, loff_t *ppos) size_t count, loff_t *ppos)
{ {
size_t ret; size_t ret;
struct inode *inode = file->f_path.dentry->d_inode;
ret = write_pool(&blocking_pool, buffer, count); ret = write_pool(&blocking_pool, buffer, count);
if (ret) if (ret)
......
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