Skip to contentSkip to conversation

fat-remove-redundant-assignment-of-0-to-slots.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 20, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

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 <[email protected]>
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

---

 fs/fat/dir.c |    1 -
 1 file changed, 1 deletion(-)
fs/fat/dir.c renamed from fs/fat/dir.c~fat-remove-redundant-assignment-of-0-to-slots +0 -1
diff -puN fs/fat/dir.c~fat-remove-redundant-assignment-of-0-to-slots 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 [email protected] are