diff options
| author | Philipp Hahn <phahn-oss@avm.de> | 2026-03-03 13:59:15 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-03-04 13:22:41 +0300 |
| commit | 81440a740d385a992b0652fbd4a5c71edd6f27d2 (patch) | |
| tree | 99b004fb0b55ec89638dd656b05ceb9c51ad7a2f | |
| parent | 4637b4cdd7aebfa2e38fa39f4db91fa089b809c5 (diff) | |
| download | linux-81440a740d385a992b0652fbd4a5c71edd6f27d2.tar.xz | |
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>
| -rw-r--r-- | fs/exfat/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/exfat/inode.c b/fs/exfat/inode.c index 567308aff726..d5f6dbab4720 100644 --- a/fs/exfat/inode.c +++ b/fs/exfat/inode.c @@ -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; |
