isisd: remove superfluous checks after XMALLOC etc.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index 0470c5b..8f7fc0a 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -581,12 +581,7 @@
struct isis_lsp *lsp;
lsp = XCALLOC (MTYPE_ISIS_LSP, sizeof (struct isis_lsp));
- if (!lsp)
- {
- /* FIXME: set lspdbol bit */
- zlog_warn ("lsp_new(): out of memory");
- return NULL;
- }
+
/* FIXME: Should be minimal mtu? */
lsp->pdu = stream_new (1500);
if (LSP_FRAGMENT (lsp_id) == 0)