fs/ntfs: remove unused variable attr_len
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 15 Dec 2020 03:03:34 +0000 (19:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:37 +0000 (12:13 -0800)
commit4dad18f47767f97f859fad84a8c2c8ee8323c2b9
tree44c45283b1ca64eae1106149ab630ffde57506d2
parent3f10c2fa40e444b8cacf82adcbbcd3602b99a645
fs/ntfs: remove unused variable attr_len

This variable isn't used anymore, remove it to skip W=1 warning:

  fs/ntfs/inode.c:2350:6: warning: variable `attr_len' set but not used [-Wunused-but-set-variable]

Link: https://lkml.kernel.org/r/4194376f-898b-b602-81c3-210567712092@linux.alibaba.com
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Acked-by: Anton Altaparmakov <anton@tuxera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ntfs/inode.c