diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-05 23:55:29 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-09 22:44:23 +0200 |
commit | d9090d56c0d7cf1f93d844e764aa669fab0c355e (patch) | |
tree | 515887503cd9e8e1c4f1443a5dcec7b8f2343374 /ospf6d/ospf6_lsa.c | |
parent | *: update thread_add_* calls (diff) | |
download | frr-d9090d56c0d7cf1f93d844e764aa669fab0c355e.tar.xz frr-d9090d56c0d7cf1f93d844e764aa669fab0c355e.zip |
ospf6d, zebra: remove unnecessary asserts
These pointers are now guaranteed to be null, so asserting the opposite
will crash.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r-- | ospf6d/ospf6_lsa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index a993869a9..38229541a 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -696,7 +696,6 @@ ospf6_lsa_refresh (struct thread *thread) struct ospf6_lsa *old, *self, *new; struct ospf6_lsdb *lsdb_self; - assert (thread); old = (struct ospf6_lsa *) THREAD_ARG (thread); assert (old && old->header); |