diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-01 05:48:28 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-01 14:50:27 -0500 |
commit | cd1510cb5f892907fe1a662f90b41fb3a42954e0 (patch) | |
tree | 7243a56629a53f048e07cdc41e3c8d324036b07d /drivers/char/random.c | |
parent | a8d7ac279743077965afeca0c9ed748507b68e89 (diff) |
random: Remove unused inode variable
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>
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r-- | drivers/char/random.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index 3495d6486b71..2849713d2231 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -1101,7 +1101,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer, | |||
1101 | size_t count, loff_t *ppos) | 1101 | size_t count, loff_t *ppos) |
1102 | { | 1102 | { |
1103 | size_t ret; | 1103 | size_t ret; |
1104 | struct inode *inode = file->f_path.dentry->d_inode; | ||
1105 | 1104 | ||
1106 | ret = write_pool(&blocking_pool, buffer, count); | 1105 | ret = write_pool(&blocking_pool, buffer, count); |
1107 | if (ret) | 1106 | if (ret) |