diff options
| author | Dr. David Alan Gilbert <linux@treblig.org> | 2025-06-08 19:15:35 +0300 |
|---|---|---|
| committer | Richard Weinberger <richard@nod.at> | 2025-07-24 23:19:17 +0300 |
| commit | ca7be9c0a148cbfe38df95a0285339c532ca6e17 (patch) | |
| tree | 17a6bbf8574f653d307d0499d62b569250446e6c /include/linux/mtd | |
| parent | 347e9f5043c89695b01e66b3ed111755afcf1911 (diff) | |
| download | linux-ca7be9c0a148cbfe38df95a0285339c532ca6e17.tar.xz | |
mtd: ubi: Remove unused ubi_flush
ubi_flush() was added in 2012 as part of
commit 62f384552b67 ("UBI: modify ubi_wl_flush function to clear work queue
for a lnum")
but has remained unused.
(It's friend ubi_wl_flush() is still used)
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/ubi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index 562f92504f2b..c3f79c4be1cc 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h @@ -250,7 +250,6 @@ int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); int ubi_sync(int ubi_num); -int ubi_flush(int ubi_num, int vol_id, int lnum); /* * This function is the same as the 'ubi_leb_read()' function, but it does not |
