master - cleanup: drop unused assignment
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9effc6ab316db0f3f7122019ccdc546972ea1e94 Commit: 9effc6ab316db0f3f7122019ccdc546972ea1e94 Parent: 88c547d1ca83426f4de5371baac885f5500b5487 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Oct 13 19:17:10 2012 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Sat Oct 13 19:17:10 2012 +0200
cleanup: drop unused assignment
Since 'n' is later reassigned and unused between, drop it's first assign.
--- daemons/lvmetad/lvmetad-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmetad/lvmetad-core.c +1 -1
@@ -1113,7 +1113,7 @@ static int init(daemon_state *s)static int fini (daemon_state *s) {lvmetad_state *ls = s->private; -struct dm_hash_node *n =dm_hash_get_first (ls->vgid_to_metadata); +struct dm_hash_node *n;DEBUG (s,"fini" );