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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 11 Nov 2021 09:15:07 +0000 From: cgel.zte@...il.com To: Theodore Ts' <tytso@....edu> Cc: Andreas Dilger <adilger.kernel@...ger.ca>, linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org, luo penghao <luo.penghao@....com.cn>, Zeal Robot <zealci@....com.cn> Subject: [PATCH linux-next] ext4: Delete unused statements From: luo penghao <luo.penghao@....com.cn> The assignment statement is at the end of the function, and local variables will not be used. Reported-by: Zeal Robot <zealci@....com.cn> Signed-off-by: luo penghao <luo.penghao@....com.cn> --- fs/ext4/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 0f06305..642cb76 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2285,7 +2285,6 @@ static int mpage_process_page(struct mpage_da_data *mpd, struct page *page, } while (lblk++, (bh = bh->b_this_page) != head); io_end_vec->size += io_end_size; - io_end_size = 0; *map_bh = false; out: *m_lblk = lblk; -- 2.15.2
Powered by blists - more mailing lists