summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-metadata.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-10-03 02:15:48 +0100
committerMikulas Patocka <mpatocka@redhat.com>2024-11-20 11:38:04 +0100
commit0153b7965d55478504708a0813cc6fe1f08cc9cd (patch)
tree3d2fe7c74743b4bbf0b24d00457334d5dd85d08b /drivers/md/dm-cache-metadata.h
parent253bacc057bab6424c08a54dfcefc30e00e8d86b (diff)
dm cache: Remove unused dm_cache_size
dm_cache_size() has been unused since the original commit c6b4fcbad044 ("dm: add cache target") Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-metadata.h')
-rw-r--r--drivers/md/dm-cache-metadata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-cache-metadata.h b/drivers/md/dm-cache-metadata.h
index 3e5472173baa..5f77890207fe 100644
--- a/drivers/md/dm-cache-metadata.h
+++ b/drivers/md/dm-cache-metadata.h
@@ -71,7 +71,6 @@ void dm_cache_metadata_close(struct dm_cache_metadata *cmd);
* origin blocks to map to.
*/
int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size);
-int dm_cache_size(struct dm_cache_metadata *cmd, dm_cblock_t *result);
int dm_cache_discard_bitset_resize(struct dm_cache_metadata *cmd,
sector_t discard_block_size,