summaryrefslogtreecommitdiffstats
path: root/lib/thin
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-01-25 08:51:29 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-01-25 08:51:29 +0000
commit5c8b1486051d2acf564128553fceefb984dddbb3 (patch)
treebbbcb3c7c66cc6ce9d08cfa7eb6bb5ba84c19732 /lib/thin
parentc217690f4c97a8ed6a5890f154dbc2bab161ba66 (diff)
downloadlvm2-5c8b1486051d2acf564128553fceefb984dddbb3.tar.gz
lvm2-5c8b1486051d2acf564128553fceefb984dddbb3.tar.xz
lvm2-5c8b1486051d2acf564128553fceefb984dddbb3.zip
Comment cleanups
Move comment where it applies and remove unused attribe when the var is actually used.
Diffstat (limited to 'lib/thin')
-rw-r--r--lib/thin/thin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/thin/thin.c b/lib/thin/thin.c
index 629c5a53..e3747a0c 100644
--- a/lib/thin/thin.c
+++ b/lib/thin/thin.c
@@ -212,11 +212,11 @@ static int _thin_pool_text_export(const struct lv_segment *seg, struct formatter
#ifdef DEVMAPPER_SUPPORT
static int _thin_pool_add_target_line(struct dev_manager *dm,
- struct dm_pool *mem __attribute__((unused)),
- struct cmd_context *cmd __attribute__((unused)),
+ struct dm_pool *mem,
+ struct cmd_context *cmd,
void **target_state __attribute__((unused)),
struct lv_segment *seg,
- const struct lv_activate_opts *laopts __attribute__((unused)),
+ const struct lv_activate_opts *laopts,
struct dm_tree_node *node, uint64_t len,
uint32_t *pvmove_mirror_count __attribute__((unused)))
{