Commit eecd7f4f authored by Colin Ian King's avatar Colin Ian King Committed by Linus Torvalds

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

Cleans clang warning: Value stored to 'slots' is never read

Link: default avatarColin Ian King <>
Acked-by: default avatarOGAWA Hirofumi <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 15ec3718
......@@ -291,7 +291,6 @@ static int fat_parse_long(struct inode *dir, loff_t *pos,
slots = 0;
ds = (struct msdos_dir_slot *)*de;
id = ds->id;
if (!(id & 0x40))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment