[PATCH] UBI: Remove unnecessary `\'
Richard Weinberger
richard at nod.at
Wed Jun 3 00:42:33 PDT 2015
Am 03.06.2015 um 03:37 schrieb Sheng Yong:
> Signed-off-by: Sheng Yong <shengyong1 at huawei.com>
> ---
> drivers/mtd/ubi/fastmap.c | 2 +-
> drivers/mtd/ubi/wl.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c
> index 9eee904..4aa2fd8 100644
> --- a/drivers/mtd/ubi/fastmap.c
> +++ b/drivers/mtd/ubi/fastmap.c
> @@ -316,7 +316,7 @@ static int update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai,
> list_add_tail(&victim->u.list, &ai->erase);
>
> if (av->highest_lnum == be32_to_cpu(new_vh->lnum))
> - av->last_data_size = \
> + av->last_data_size =
> be32_to_cpu(new_vh->data_size);
>
> dbg_bld("vol %i: AEB %i's PEB %i is the newer",
> diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
> index 16214d3..275d9fb 100644
> --- a/drivers/mtd/ubi/wl.c
> +++ b/drivers/mtd/ubi/wl.c
> @@ -1581,7 +1581,7 @@ int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai)
> dbg_wl("found %i PEBs", found_pebs);
>
> if (ubi->fm) {
> - ubi_assert(ubi->good_peb_count == \
> + ubi_assert(ubi->good_peb_count ==
> found_pebs + ubi->fm->used_blocks);
>
> for (i = 0; i < ubi->fm->used_blocks; i++) {
Applied.
Thanks,
//richard
More information about the linux-mtd
mailing list