diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-05 21:55:29 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-05-09 20:44:23 +0000 |
| commit | d9090d56c0d7cf1f93d844e764aa669fab0c355e (patch) | |
| tree | 515887503cd9e8e1c4f1443a5dcec7b8f2343374 /ospf6d/ospf6_lsa.c | |
| parent | 66e78ae64bc4659848517953b365606e3e70e878 (diff) | |
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 a993869a91..38229541ac 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); |
