]> git.itanic.dy.fi Git - scan-pagemap/blobdiff - parse.c
alloc_map: Remove redundat memset
[scan-pagemap] / parse.c
diff --git a/parse.c b/parse.c
index 5e29ea576d730d9d49c5a3e5940ec72505be15b5..97d76aa1889ddf8cdf6fbc70ee40f24de00390b1 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -49,7 +49,6 @@ static struct maps *alloc_map(void)
        if (map == NULL)
                goto err;
 
-       memset(map, 0, sizeof(*map));
        INIT_LIST_HEAD(&map->list);
 err:
        return map;