]> git.ipfire.org Git - thirdparty/grub.git/commit
fs/jfs: Clean up redundant code
authorAlec Brown <alec.r.brown@oracle.com>
Sat, 20 Jan 2024 02:52:49 +0000 (02:52 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 25 Jan 2024 17:08:48 +0000 (18:08 +0100)
commitc8bf75875761592e4019c6968725309cb1e79a13
treeb6d8d064bd6c72be4e8961a3bcceeb96187fff13
parent5a311d029fb3b0526551ea89b8f16842355f0d03
fs/jfs: Clean up redundant code

In grub-core/fs/jfs.c, Coverity spotted redundant code where the pointer diro
was being set to 0 and then being overwritten later without being used. Since
this is unnecessary, we can remove the code that sets diro to 0.

Fixes: CID 428876
Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/fs/jfs.c