Skip to contentSkip to conversation

master - cleanu: drop duplicate const

PATCH Zdenek Kabelac 1 participant 1 message Nov 13, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c3e29903590b596bfead1d84f91a32362d8e640f
Commit:        c3e29903590b596bfead1d84f91a32362d8e640f
Parent:        8cb79dad0bc8b02ad57a4ffaa137e40c3cb8daaf
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Nov 13 13:15:58 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Nov 13 13:15:58 2014 +0100

cleanu: drop duplicate const

---
 lib/activate/dev_manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/activate/dev_manager.c +1 -1
index 047e929..32abde7 100644
@@ -3028,7 +3028,7 @@ static int _clean_tree(struct dev_manager *dm, struct dm_tree_node *root, const
 static int _tree_action(struct dev_manager *dm, const struct logical_volume *lv,
 			struct lv_activate_opts *laopts, action_t action)
 {
-	static const char const _action_names[][24] = {
+	static const char _action_names[][24] = {
 		"PRELOAD", "ACTIVATE", "DEACTIVATE", "SUSPEND", "SUSPEND_WITH_LOCKFS", "CLEAN"
 	};
 	const size_t DLID_SIZE = ID_LEN + sizeof(UUID_PREFIX) - 1;