summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2017-02-13 19:27:54 +0100
committerChristian Franke <chris@opensourcerouting.org>2017-02-13 19:27:54 +0100
commitf75352362c0c2f0142d54c88f5ab03afb84f6ef1 (patch)
tree4f140c2c48c26bbab0cc9db7c62dc5b5c26985f8 /isisd/isis_lsp.c
parentMerge pull request #191 from opensourcerouting/ospfclient-incl (diff)
downloadfrr-f75352362c0c2f0142d54c88f5ab03afb84f6ef1.tar.xz
frr-f75352362c0c2f0142d54c88f5ab03afb84f6ef1.zip
isisd: address coverity findings
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index c13bcc5d8..a710c00e5 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -2484,8 +2484,7 @@ lsp_regenerate_schedule_pseudo (struct isis_circuit *circuit, int level)
int lvl;
struct isis_area *area = circuit->area;
- if (circuit == NULL ||
- circuit->circ_type != CIRCUIT_T_BROADCAST ||
+ if (circuit->circ_type != CIRCUIT_T_BROADCAST ||
circuit->state != C_STATE_UP)
return ISIS_OK;