Skip to content

Commit cbc898d

Browse files
Colin Ian Kingrichardweinberger
authored andcommitted
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>
1 parent 089cf7f commit cbc898d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/ubifs/debug.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2817,7 +2817,6 @@ void dbg_debugfs_init_fs(struct ubifs_info *c)
28172817
c->vi.ubi_num, c->vi.vol_id);
28182818
if (n == UBIFS_DFS_DIR_LEN) {
28192819
/* The array size is too small */
2820-
fname = UBIFS_DFS_DIR_NAME;
28212820
return;
28222821
}
28232822

0 commit comments

Comments
 (0)