diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-08 21:49:28 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:14 +0100 |
commit | 7f8b8a9af65212217646e3b98cd627fbac10830f (patch) | |
tree | 1bfb21e5477d9dc6be7bd28acc4c98739142bdc1 /pimd/pim_neighbor.c | |
parent | pimd: Add Handler for Receive (*,G) join for (S,G,rpt) (diff) | |
download | frr-7f8b8a9af65212217646e3b98cd627fbac10830f.tar.xz frr-7f8b8a9af65212217646e3b98cd627fbac10830f.zip |
pimd: Remove unnecessary asserts
When we handle the thread arguments,
there is no need to assert. As that
if they are wrong, we are going down
shortly anyways.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_neighbor.c')
-rw-r--r-- | pimd/pim_neighbor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_neighbor.c b/pimd/pim_neighbor.c index abca60942..1b58b9850 100644 --- a/pimd/pim_neighbor.c +++ b/pimd/pim_neighbor.c @@ -211,9 +211,7 @@ static int on_neighbor_timer(struct thread *t) struct interface *ifp; char msg[100]; - zassert(t); neigh = THREAD_ARG(t); - zassert(neigh); ifp = neigh->interface; |