From: akpm@linux-foundation.org Subject: [merged] fat-remove-redundant-assignment-of-0-to-slots.patch removed from -mm tree Date: Mon, 20 Nov 2017 13:25:45 -0800 Message-ID: <20171120212545.UKZIB00ta%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:40770 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbdKTVZq (ORCPT ); Mon, 20 Nov 2017 16:25:46 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: colin.king@canonical.com, hirofumi@mail.parknet.co.jp, mm-commits@vger.kernel.org The patch titled Subject: fat: remove redundant assignment of 0 to slots has been removed from the -mm tree. Its filename was fat-remove-redundant-assignment-of-0-to-slots.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Colin Ian King Subject: fat: remove redundant assignment of 0 to slots The variable slots is being assigned a value of zero that is never read, slots is being updated again a few lines later. Remove this redundant assignment. Cleans clang warning: Value stored to 'slots' is never read Link: http://lkml.kernel.org/r/20171017140258.22536-1-colin.king@canonical.com Signed-off-by: Colin Ian King Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton --- fs/fat/dir.c | 1 - 1 file changed, 1 deletion(-) diff -puN fs/fat/dir.c~fat-remove-redundant-assignment-of-0-to-slots fs/fat/dir.c --- a/fs/fat/dir.c~fat-remove-redundant-assignment-of-0-to-slots +++ a/fs/fat/dir.c @@ -291,7 +291,6 @@ static int fat_parse_long(struct inode * } } parse_long: - slots = 0; ds = (struct msdos_dir_slot *)*de; id = ds->id; if (!(id & 0x40)) _ Patches currently in -mm which might be from colin.king@canonical.com are