Skip to content

Commit

Permalink
random: Remove unused inode variable
Browse files Browse the repository at this point in the history
The previous changeset left behind an unused inode variable.
This patch removes it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
herbertx committed Feb 1, 2010
1 parent a8d7ac2 commit cd1510c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/char/random.c
Expand Up @@ -1101,7 +1101,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer,
size_t count, loff_t *ppos)
{
size_t ret;
struct inode *inode = file->f_path.dentry->d_inode;

ret = write_pool(&blocking_pool, buffer, count);
if (ret)
Expand Down

0 comments on commit cd1510c

Please sign in to comment.