ext4: remove redundant check of count
authorKemeng Shi <shikemeng@huaweicloud.com>
Sat, 26 Aug 2023 17:47:05 +0000 (01:47 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Oct 2023 02:32:14 +0000 (22:32 -0400)
commit7d4cd3b45af025befe3bca94f87359a6603b6e95
treec8e5b03393043e1bd3ec5b0d0f7855a1c09c0156
parente44fc921b84ff08a9e2fb827a146fa4021d016f3
ext4: remove redundant check of count

Remove zero check of count which is always non-zero.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20230826174712.4059355-7-shikemeng@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/resize.c