]> git.baikalelectronics.ru Git - kernel.git/commit
fat: remove redundant assignment of 0 to slots
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Nov 2017 23:29:57 +0000 (15:29 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:03 +0000 (16:10 -0800)
commit0d4f03536dfd506154dfc506954bdaf3729e18d6
treec91888b094d7746f5581319ed29d1fe8b159736b
parent9ab8a62135f047a2595a1cb0a146f2a08f239550
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 <colin.king@canonical.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fat/dir.c