diff options
author | Zhang Zekun <zhangzekun11@huawei.com> | 2024-09-07 16:00:25 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-11-14 18:02:11 +0100 |
commit | cb33ade753a6e2d629b4f87d2375ee9063d21bc7 (patch) | |
tree | 680300a5f16c33314aea9c53162029e8aeffd725 | |
parent | 84a2bee9c49769310efa19601157ef50a1df1267 (diff) | |
download | lwn-cb33ade753a6e2d629b4f87d2375ee9063d21bc7.tar.gz lwn-cb33ade753a6e2d629b4f87d2375ee9063d21bc7.zip |
mtd: ubi: Rmove unused declaration in header file
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@huawei.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 1 |
1 files changed, 0 insertions, 1 deletions
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, |