ubifs: Remove redundant assignment to pointer fname
The pointer fname is being assigned with a value that is never
read because the function returns after the assignment. The assignment
is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
pull/725/head
parent
089cf7f6ec
commit
cbc898d52c
|
|
@ -2817,7 +2817,6 @@ void dbg_debugfs_init_fs(struct ubifs_info *c)
|
|||
c->vi.ubi_num, c->vi.vol_id);
|
||||
if (n == UBIFS_DFS_DIR_LEN) {
|
||||
/* The array size is too small */
|
||||
fname = UBIFS_DFS_DIR_NAME;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue