diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-12 12:10:57 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 14:00:25 +0200 |
commit | 6b5a16f1939e734e9d419d8063264e736a94dbe6 (patch) | |
tree | 4453b02e6988abfcd97b0c7a6021fa644697bb0d /fs | |
parent | 8aede520df6555215d89d0bcb565afb3b60aa3b5 (diff) | |
download | barebox-6b5a16f1939e734e9d419d8063264e736a94dbe6.tar.gz barebox-6b5a16f1939e734e9d419d8063264e736a94dbe6.tar.xz |
ubifs: Remove unused variable
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/ubifs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 35923a998a..49d55832dd 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -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 */ |