Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

exfat: Drop dead assignment of num_clusters

num_clusters is not used anywhere afterwards. Remove assignment.

Found by static code analysis using Klocwork.

Signed-off-by: Philipp Hahn <phahn-oss@avm.de>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>

authored by

Philipp Hahn and committed by
Namjae Jeon
81440a74 4637b4cd

-1
-1
fs/exfat/inode.c
··· 213 213 return -EIO; 214 214 } 215 215 216 - num_clusters += num_to_be_allocated; 217 216 *clu = new_clu.dir; 218 217 219 218 inode->i_blocks += EXFAT_CLU_TO_B(num_to_be_allocated, sbi) >> 9;