]> git.baikalelectronics.ru Git - kernel.git/commit
exfat: remove unnecessary reassignment of p_uniname->name_len
authorNamjae Jeon <namjae.jeon@samsung.com>
Mon, 1 Jun 2020 00:43:49 +0000 (09:43 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Tue, 9 Jun 2020 07:49:32 +0000 (16:49 +0900)
commitd979bce70a208080e2b84cebcf480276389e4441
treed8f65d567df331b589906b9cf5c96d65452dbd04
parentbb3c7bda605d71f30fec7cd689394a15be5513d4
exfat: remove unnecessary reassignment of p_uniname->name_len

kbuild test robot reported :

fs/exfat/nls.c:531:22: warning: Variable 'p_uniname->name_len'
is reassigned a value before the old one has been used.

The reassignment of p_uniname->name_len is not needed and remove it.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/nls.c