diff options
author | Li zeming <zeming@nfschina.com> | 2022-10-12 12:42:35 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-10-24 16:49:00 +0200 |
commit | 0dafb7e671f0e769c854609548037754a68dcbc6 (patch) | |
tree | c46611da7760ae62fcfbc7b4fced4e30f73a53f0 /fs/udf/namei.c | |
parent | Linux 6.1-rc2 (diff) | |
download | linux-0dafb7e671f0e769c854609548037754a68dcbc6.tar.xz linux-0dafb7e671f0e769c854609548037754a68dcbc6.zip |
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: Li zeming <zeming@nfschina.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221012104235.3331-1-zeming@nfschina.com
Diffstat (limited to 'fs/udf/namei.c')
0 files changed, 0 insertions, 0 deletions