summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2018-08-13 14:56:56 -0400
committerGitHub <noreply@github.com>2018-08-13 14:56:56 -0400
commitcd22c8ca74597aa27cb11dd28b613d53c0a36abe (patch)
tree3e51217c34b49df896e84bf63f80d65a5c5a270d /ospfd/ospf_interface.c
parent5487152318c7f56867a027f7214c849f6fb23e5c (diff)
parente8c8f2e064c674d1c0935aaf04091c97e117c62f (diff)
Merge pull request #2820 from opensourcerouting/err-prep
remove alloc return value checks + minor babeld cleanup
Diffstat (limited to 'ospfd/ospf_interface.c')
-rw-r--r--ospfd/ospf_interface.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
index 23353b3c30..24584f6713 100644
--- a/ospfd/ospf_interface.c
+++ b/ospfd/ospf_interface.c
@@ -523,9 +523,6 @@ static struct ospf_if_params *ospf_new_if_params(void)
oip = XCALLOC(MTYPE_OSPF_IF_PARAMS, sizeof(struct ospf_if_params));
- if (!oip)
- return NULL;
-
UNSET_IF_PARAM(oip, output_cost_cmd);
UNSET_IF_PARAM(oip, transmit_delay);
UNSET_IF_PARAM(oip, retransmit_interval);