mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
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>
This commit is contained in:
parent
4637b4cdd7
commit
81440a740d
|
|
@ -213,7 +213,6 @@ static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset,
|
|||
return -EIO;
|
||||
}
|
||||
|
||||
num_clusters += num_to_be_allocated;
|
||||
*clu = new_clu.dir;
|
||||
|
||||
inode->i_blocks += EXFAT_CLU_TO_B(num_to_be_allocated, sbi) >> 9;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user