mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 10:49:24 +00:00
Remove redundant memset
This commit is contained in:
parent
2946f65bb8
commit
bdf94e447a
@ -472,8 +472,6 @@ ospf_new_if_params ()
|
|||||||
if (!oip)
|
if (!oip)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
memset (oip, 0, sizeof (struct ospf_if_params));
|
|
||||||
|
|
||||||
UNSET_IF_PARAM (oip, output_cost_cmd);
|
UNSET_IF_PARAM (oip, output_cost_cmd);
|
||||||
UNSET_IF_PARAM (oip, transmit_delay);
|
UNSET_IF_PARAM (oip, transmit_delay);
|
||||||
UNSET_IF_PARAM (oip, retransmit_interval);
|
UNSET_IF_PARAM (oip, retransmit_interval);
|
||||||
|
Loading…
Reference in New Issue
Block a user