lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20240402024140.28456-1-zeming@nfschina.com> Date: Tue, 2 Apr 2024 10:41:40 +0800 From: Li zeming <zeming@...china.com> To: tytso@....edu, adilger.kernel@...ger.ca Cc: linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org, Li zeming <zeming@...china.com> Subject: [PATCH] ext4: extents: Remove unnecessary ‘NULL’ values from path path is assigned first, so it does not need to initialize the assignment. Signed-off-by: Li zeming <zeming@...china.com> --- fs/ext4/extents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 7669d154c05e0..4ab96f01a6f31 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -600,7 +600,7 @@ __read_extent_tree_block(const char *function, unsigned int line, int ext4_ext_precache(struct inode *inode) { struct ext4_inode_info *ei = EXT4_I(inode); - struct ext4_ext_path *path = NULL; + struct ext4_ext_path *path; struct buffer_head *bh; int i = 0, depth, ret = 0; -- 2.18.2
Powered by blists - more mailing lists