From: Herbert Xu Date: Mon, 1 Feb 2010 10:48:28 +0000 (+1100) Subject: random: Remove unused inode variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cd1510cb5f892907fe1a662f90b41fb3a42954e0;p=openwrt%2Fstaging%2Fblogic.git random: Remove unused inode variable The previous changeset left behind an unused inode variable. This patch removes it. Reported-by: Stephen Rothwell Signed-off-by: Herbert Xu --- 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, 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)