Skip to content

Commit cb33ade

Browse files
Zhang Zekunrichardweinberger
authored andcommitted
mtd: ubi: Rmove unused declaration in header file
The definition of ubi_destroy_ai() has been removed since commit dac6e20 ("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>
1 parent 84a2bee commit cb33ade

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/mtd/ubi/ubi.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,6 @@ void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
831831
struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi,
832832
struct ubi_attach_info *ai);
833833
int ubi_attach(struct ubi_device *ubi, int force_scan);
834-
void ubi_destroy_ai(struct ubi_attach_info *ai);
835834

836835
/* vtbl.c */
837836
int ubi_change_vtbl_record(struct ubi_device *ubi, int idx,

0 commit comments

Comments
 (0)