Commit ad926611 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Mikulas Patocka
Browse files

dm: Remove unused dm_table_bio_based



dm_table_bio_based() is unused since commit
29dec90a ("dm: fix bio_set allocation")

Remove it.

Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent feb83afa
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1033,11 +1033,6 @@ struct dm_target *dm_table_get_wildcard_target(struct dm_table *t)
	return NULL;
}

bool dm_table_bio_based(struct dm_table *t)
{
	return __table_type_bio_based(dm_table_get_type(t));
}

bool dm_table_request_based(struct dm_table *t)
{
	return __table_type_request_based(dm_table_get_type(t));
+0 −1
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@ enum dm_queue_mode dm_table_get_type(struct dm_table *t);
struct target_type *dm_table_get_immutable_target_type(struct dm_table *t);
struct dm_target *dm_table_get_immutable_target(struct dm_table *t);
struct dm_target *dm_table_get_wildcard_target(struct dm_table *t);
bool dm_table_bio_based(struct dm_table *t);
bool dm_table_request_based(struct dm_table *t);

void dm_lock_md_type(struct mapped_device *md);