]> git.ipfire.org Git - thirdparty/linux.git/commit
ubifs: Remove unnecessary variable assignments
authorXichao Zhao <zhao.xichao@vivo.com>
Mon, 11 Aug 2025 10:09:49 +0000 (18:09 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 28 Nov 2025 20:41:52 +0000 (21:41 +0100)
commitc0d612b391b219f0119201d6a30514bf00f79066
tree4eebbe87eaffef483c34473657b4a783448dcba5
parent0288d5fe25a286641f0fc259d5de32d0e319db6d
ubifs: Remove unnecessary variable assignments

When an error occurs, ubifs_err is used to directly print the error,
and different errors have different formats for printing. Therefore,
it's not necessary to use 'err' to locate the error occurrence.
Thus, remove the relevant assignments to 'err'.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/tnc_misc.c