f2fs: Remove unneeded semicolon
PATCH 1/1 f2fs: Remove unneeded semicolon
./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- fs/f2fs/checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/checkpoint.c +1 -1
@@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)for (i =0 ; i <NR_CURSEG_DATA_TYPE ; i++) {struct curseg_info *curseg =CURSEG_I (sbi, i +CURSEG_HOT_DATA ); - ckpt->cur_data_segno[i] =cpu_to_le32 (curseg->segno);; + ckpt->cur_data_segno[i] =cpu_to_le32 (curseg->segno); ckpt->cur_data_blkoff[i] =cpu_to_le16 (curseg->next_blkoff); ckpt->alloc_type[i +CURSEG_HOT_DATA ] = curseg->alloc_type; }
Signature · 1 line
2.20.1.7.g153144c
Jaegeuk Kim
maintainerThanks, but applied the fix in the original patch.
Quoted 24 lines · Yang Li
./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- fs/f2fs/checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/f2fs/checkpoint.c +1
-1@@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)for (i =0 ; i <NR_CURSEG_DATA_TYPE ; i++) {struct curseg_info *curseg =CURSEG_I (sbi, i +CURSEG_HOT_DATA ); - ckpt->cur_data_segno[i] =cpu_to_le32 (curseg->segno);; + ckpt->cur_data_segno[i] =cpu_to_le32 (curseg->segno); ckpt->cur_data_blkoff[i] =cpu_to_le16 (curseg->next_blkoff); ckpt->alloc_type[i +CURSEG_HOT_DATA ] = curseg->alloc_type; }Signature · 1 line
2.20.1.7.g153144c