mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
UBI: Fastmap: Remove unnecessary `\'
Signed-off-by: Sheng Yong <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
parent
212240dfd2
commit
a18fd67267
1 changed files with 7 additions and 7 deletions
|
|
@ -88,13 +88,13 @@ size_t ubi_calc_fm_size(struct ubi_device *ubi)
|
|||
{
|
||||
size_t size;
|
||||
|
||||
size = sizeof(struct ubi_fm_sb) + \
|
||||
sizeof(struct ubi_fm_hdr) + \
|
||||
sizeof(struct ubi_fm_scan_pool) + \
|
||||
sizeof(struct ubi_fm_scan_pool) + \
|
||||
(ubi->peb_count * sizeof(struct ubi_fm_ec)) + \
|
||||
(sizeof(struct ubi_fm_eba) + \
|
||||
(ubi->peb_count * sizeof(__be32))) + \
|
||||
size = sizeof(struct ubi_fm_sb) +
|
||||
sizeof(struct ubi_fm_hdr) +
|
||||
sizeof(struct ubi_fm_scan_pool) +
|
||||
sizeof(struct ubi_fm_scan_pool) +
|
||||
(ubi->peb_count * sizeof(struct ubi_fm_ec)) +
|
||||
(sizeof(struct ubi_fm_eba) +
|
||||
(ubi->peb_count * sizeof(__be32))) +
|
||||
sizeof(struct ubi_fm_volhdr) * UBI_MAX_VOLUMES;
|
||||
return roundup(size, ubi->leb_size);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue