[PATCH] mtd: ubi: Rmove unused declaration in header file
Zhihao Cheng
chengzhihao1 at huawei.com
Sat Sep 7 01:34:47 PDT 2024
在 2024/9/7 16:00, Zhang Zekun 写道:
> The definition of ubi_destroy_ai() has been removed since
> commit dac6e2087a41 ("UBI: Add fastmap stuff to attach.c").
> Remove the empty declaration in header file.
>
> Signed-off-by: Zhang Zekun <zhangzekun11 at huawei.com>
> ---
> drivers/mtd/ubi/ubi.h | 1 -
> 1 file changed, 1 deletion(-)
>
Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com>
> diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
> index 1c9e874e8ede..c792b9bcab9b 100644
> --- a/drivers/mtd/ubi/ubi.h
> +++ b/drivers/mtd/ubi/ubi.h
> @@ -831,7 +831,6 @@ void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
> struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi,
> struct ubi_attach_info *ai);
> int ubi_attach(struct ubi_device *ubi, int force_scan);
> -void ubi_destroy_ai(struct ubi_attach_info *ai);
>
> /* vtbl.c */
> int ubi_change_vtbl_record(struct ubi_device *ubi, int idx,
>
More information about the linux-mtd
mailing list