summaryrefslogtreecommitdiff
path: root/lib/striped
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-10-03 18:02:06 +0000
committerAlasdair Kergon <agk@redhat.com>2006-10-03 18:02:06 +0000
commitcf824a692d40f568c5ca9fe5f21c152ea0a53429 (patch)
tree1599f7aef44b7985153d1fec339ef12b2b23ce0c /lib/striped
parent6c81ed26f0621c8ea8da4d0712a7a7883023fcb2 (diff)
downloadlvm2-cf824a692d40f568c5ca9fe5f21c152ea0a53429.tar.gz
exclude targets that are always built-in
Diffstat (limited to 'lib/striped')
-rw-r--r--lib/striped/striped.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/striped/striped.c b/lib/striped/striped.c
index b413f0324..2b83c77ab 100644
--- a/lib/striped/striped.c
+++ b/lib/striped/striped.c
@@ -189,17 +189,6 @@ static int _striped_target_present(void)
}
#endif
-static int _striped_modules_needed(struct dm_pool *mem,
- const struct lv_segment *seg,
- struct list *modules)
-{
- const char *module;
-
- module = (seg->area_count == 1) ? "linear" : "striped";
-
- return str_list_add(mem, modules, module);
-}
-
static void _striped_destroy(const struct segment_type *segtype)
{
dm_free((void *)segtype);
@@ -216,7 +205,6 @@ static struct segtype_handler _striped_ops = {
.add_target_line = _striped_add_target_line,
.target_present = _striped_target_present,
#endif
- .modules_needed = _striped_modules_needed,
.destroy = _striped_destroy,
};