Skip to content
Commit 0dafb7e6 authored by Li zeming's avatar Li zeming Committed by Jan Kara
Browse files

fs: udf: Optimize udf_free_in_core_inode and udf_find_fileset function



These two functions perform the following optimizations.
1. Delete the type cast of foo pointer. Void * does not need to convert
the type.
2. Delete the initialization assignment of bh variable, which is
assigned first.

Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221012104235.3331-1-zeming@nfschina.com
parent 247f34f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment