ubifs: Remove unused variable
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
8aede520df
commit
6b5a16f193
|
@ -240,8 +240,6 @@ static struct inode *ubifs_findfile(struct super_block *sb, const char *filename
|
|||
return ubifs_iget(sb, 1);
|
||||
|
||||
for (;;) {
|
||||
struct ubifs_inode *ui;
|
||||
|
||||
/* Extract the actual part from the pathname. */
|
||||
next = strchr(name, '/');
|
||||
if (next) {
|
||||
|
@ -257,8 +255,6 @@ static struct inode *ubifs_findfile(struct super_block *sb, const char *filename
|
|||
if (!inode)
|
||||
break;
|
||||
|
||||
ui = ubifs_inode(inode);
|
||||
|
||||
/*
|
||||
* Check if directory with this name exists
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue