From 1a89fc3f63aa146ac040e903c4a4a3be7b9f1068 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Wed, 2 Aug 2023 20:09:38 +0900 Subject: [PATCH] initippool: drop redundant memset The size of the memset was just wrong, but the data has already been zeroed in initdata so we can just remove it. # This is the commit message #2: # squash! initippool: fix initialization of ip_address_pool --- l2tpns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/l2tpns.c b/l2tpns.c index 3d722e5..f756e74 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4932,7 +4932,6 @@ static void initippool() FILE *f; char *p; char buf[4096]; - memset(ip_address_pool, 0, sizeof(ip_address_pool)); if (!(f = fopen(IPPOOLFILE, "r"))) {