summaryrefslogtreecommitdiff
path: root/lib/thin
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-08-29 11:51:53 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-08-29 13:11:34 +0200
commit2a0ec5d3968414bff251f1750e911c9dd120ca69 (patch)
treeb68e353b7decb552be81df52ee3a43f7b85be64f /lib/thin
parent19375e4fcabea7ffcf2b249f6738218b3885c871 (diff)
downloadlvm2-2a0ec5d3968414bff251f1750e911c9dd120ca69.tar.gz
cleanup: drop duplicate const
No need to specify 'const' twice in these cases.
Diffstat (limited to 'lib/thin')
-rw-r--r--lib/thin/thin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thin/thin.c b/lib/thin/thin.c
index 020ccc1b7..6982782d3 100644
--- a/lib/thin/thin.c
+++ b/lib/thin/thin.c
@@ -642,7 +642,7 @@ static int _thin_target_present(struct cmd_context *cmd,
uint32_t min;
unsigned thin_feature;
const char *feature;
- } const _features[] = {
+ } _features[] = {
{ 1, 1, THIN_FEATURE_DISCARDS, "discards" },
{ 1, 1, THIN_FEATURE_EXTERNAL_ORIGIN, "external_origin" },
{ 1, 4, THIN_FEATURE_BLOCK_SIZE, "block_size" },