mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 20:54:20 +00:00
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>
This commit is contained in:
parent
089cf7f6ec
commit
cbc898d52c
1 changed files with 0 additions and 1 deletions
|
@ -2817,7 +2817,6 @@ void dbg_debugfs_init_fs(struct ubifs_info *c)
|
||||||
c->vi.ubi_num, c->vi.vol_id);
|
c->vi.ubi_num, c->vi.vol_id);
|
||||||
if (n == UBIFS_DFS_DIR_LEN) {
|
if (n == UBIFS_DFS_DIR_LEN) {
|
||||||
/* The array size is too small */
|
/* The array size is too small */
|
||||||
fname = UBIFS_DFS_DIR_NAME;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue