]> git.baikalelectronics.ru Git - kernel.git/commit
9p: Remove unnecessary variable for old fids while walking from d_parent
authorTyler Hicks <tyhicks@linux.microsoft.com>
Fri, 27 May 2022 00:00:02 +0000 (19:00 -0500)
committerDominique Martinet <dominique.martinet@atmark-techno.com>
Sat, 2 Jul 2022 09:52:21 +0000 (18:52 +0900)
commit24b00becc4a4997e509e65e954ced77068109d00
tree380fa1e42413a686cb80628a3fe70489d0095572
parentfcf6ec06553bafc8e5e116b7c0836072a765cfb9
9p: Remove unnecessary variable for old fids while walking from d_parent

Remove the ofid variable that's local to the conditional block in favor
of the old_fid variable that's local to the entire function.

Link: https://lkml.kernel.org/r/20220527000003.355812-5-tyhicks@linux.microsoft.com
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
fs/9p/fid.c