[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] master - cleanup: drop init of already zalloced mem



Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=89575d68957dacdcad7d106e3ffd71ff96d3144f
Commit:        89575d68957dacdcad7d106e3ffd71ff96d3144f
Parent:        406ec4162f86d872e041d7aa524d1f7dfd0d1cc0
Author:        Zdenek Kabelac <zkabelac redhat com>
AuthorDate:    Mon Mar 24 09:22:59 2014 +0100
Committer:     Zdenek Kabelac <zkabelac redhat com>
CommitterDate: Tue Mar 25 11:22:59 2014 +0100

cleanup: drop init of already zalloced mem

---
 lib/format_text/format-text.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c
index a652590..c987cd6 100644
--- a/lib/format_text/format-text.c
+++ b/lib/format_text/format-text.c
@@ -1865,7 +1865,6 @@ static int _create_vg_text_instance(struct format_instance *fid,
 		return 0;
 	}
 
-	fidtc->raw_metadata_buf = NULL;
 	fid->private = (void *) fidtc;
 
 	if (type & FMT_INSTANCE_PRIVATE_MDAS) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]