Skip to content

Commit a18fd67

Browse files
shengyongrichardweinberger
authored andcommitted
UBI: Fastmap: Remove unnecessary `\'
Signed-off-by: Sheng Yong <shengyong1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 212240d commit a18fd67

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/mtd/ubi/fastmap.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ size_t ubi_calc_fm_size(struct ubi_device *ubi)
8888
{
8989
size_t size;
9090

91-
size = sizeof(struct ubi_fm_sb) + \
92-
sizeof(struct ubi_fm_hdr) + \
93-
sizeof(struct ubi_fm_scan_pool) + \
94-
sizeof(struct ubi_fm_scan_pool) + \
95-
(ubi->peb_count * sizeof(struct ubi_fm_ec)) + \
96-
(sizeof(struct ubi_fm_eba) + \
97-
(ubi->peb_count * sizeof(__be32))) + \
91+
size = sizeof(struct ubi_fm_sb) +
92+
sizeof(struct ubi_fm_hdr) +
93+
sizeof(struct ubi_fm_scan_pool) +
94+
sizeof(struct ubi_fm_scan_pool) +
95+
(ubi->peb_count * sizeof(struct ubi_fm_ec)) +
96+
(sizeof(struct ubi_fm_eba) +
97+
(ubi->peb_count * sizeof(__be32))) +
9898
sizeof(struct ubi_fm_volhdr) * UBI_MAX_VOLUMES;
9999
return roundup(size, ubi->leb_size);
100100
}

0 commit comments

Comments
 (0)