Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbc898d5 authored by Colin Ian King's avatar Colin Ian King Committed by Richard Weinberger
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 089cf7f6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}