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
This commit is contained in:
parent
43e25849b2
commit
1a89fc3f63
1 changed files with 0 additions and 1 deletions
1
l2tpns.c
1
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")))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue