fs/fat: Remove two statements without effect
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 11 Sep 2016 20:51:39 +0000 (22:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 12:55:55 +0000 (08:55 -0400)
commited76f912777066c788ae7e9cfb1d5e19e8c35274
tree3b05ed06dc21e68130f56be2dc528b4052329ab2
parent201c9d884dcadb4e76981c30e9915f73de2d09b5
fs/fat: Remove two statements without effect

fatlength is a local variable which is no more used after the assignment.
s_name is not used in the function, save the strncpy.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
fs/fat/fat_write.c