projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d7ac2
)
random: Remove unused inode variable
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 1 Feb 2010 10:48:28 +0000
(21:48 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 1 Feb 2010 19:50:27 +0000
(06:50 +1100)
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>
drivers/char/random.c
patch
|
blob
|
history
diff --git
a/drivers/char/random.c
b/drivers/char/random.c
index 3495d6486b717d5b0f80b3ba6035a8a3de5d47be..2849713d22317290451bda8c2e0909d2454d9e13 100644
(file)
--- 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,
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)