Commit 96481480 authored by Herbert Xu's avatar Herbert Xu Committed by Greg Kroah-Hartman

random: Remove unused inode variable

commit cd1510cb upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8857a1ab
...@@ -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