From a3390bb507f9b2cd34ea649e56154728abdfe071 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Fri, 11 Nov 2011 16:41:37 +0000 Subject: [PATCH] Remove unneeded parameter. --- lib/activate/activate.c | 2 +- lib/activate/activate.h | 2 +- lib/filters/filter-mpath.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/activate/activate.c b/lib/activate/activate.c index b0108bb36..0541c5593 100644 --- a/lib/activate/activate.c +++ b/lib/activate/activate.c @@ -443,7 +443,7 @@ int target_version(const char *target_name, uint32_t *maj, return r; } -int lvm_dm_prefix_check(const char *sysfs_dir, int major, int minor, const char *prefix) +int lvm_dm_prefix_check(int major, int minor, const char *prefix) { struct dm_task *dmt; const char *uuid; diff --git a/lib/activate/activate.h b/lib/activate/activate.h index 718bb3b3d..d2e13a535 100644 --- a/lib/activate/activate.h +++ b/lib/activate/activate.h @@ -53,7 +53,7 @@ int target_present(struct cmd_context *cmd, const char *target_name, int use_modprobe); int target_version(const char *target_name, uint32_t *maj, uint32_t *min, uint32_t *patchlevel); -int lvm_dm_prefix_check(const char *sysfs_dir, int major, int minor, const char *prefix); +int lvm_dm_prefix_check(int major, int minor, const char *prefix); int list_segment_modules(struct dm_pool *mem, const struct lv_segment *seg, struct dm_list *modules); int list_lv_modules(struct dm_pool *mem, const struct logical_volume *lv, diff --git a/lib/filters/filter-mpath.c b/lib/filters/filter-mpath.c index 457fcbc8e..c4707d3fe 100644 --- a/lib/filters/filter-mpath.c +++ b/lib/filters/filter-mpath.c @@ -136,7 +136,7 @@ static int dev_is_mpath(struct dev_filter *f, struct device *dev) if (major != dm_major()) return 0; - return lvm_dm_prefix_check(sysfs_dir, major, minor, MPATH_PREFIX); + return lvm_dm_prefix_check(major, minor, MPATH_PREFIX); } static int _ignore_mpath(struct dev_filter *f, struct device *dev)