]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memory-failure: remove confusing initialization to count
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 12 Jun 2024 07:18:28 +0000 (15:18 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:11 +0000 (19:30 -0700)
commit4d64ab2f407a2ace43c799e84df7f169422d7a4b
treeb18134582e0d14f5619c2e77545f4546dca05b1b
parent7f8de2065d85d88951dc31e257a43e7b431c6b14
mm/memory-failure: remove confusing initialization to count

It's meaningless and confusing to init local variable count to 1.  Remove
it.  No functional change intended.

Link: https://lkml.kernel.org/r/20240612071835.157004-7-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c