diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-11-08 15:49:28 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:14 -0500 |
| commit | 7f8b8a9af65212217646e3b98cd627fbac10830f (patch) | |
| tree | 1bfb21e5477d9dc6be7bd28acc4c98739142bdc1 /pimd/pim_igmpv3.c | |
| parent | 220d8a49e6fcadae3dbb7f60cf88edca819b8d65 (diff) | |
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_igmpv3.c')
| -rw-r--r-- | pimd/pim_igmpv3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pimd/pim_igmpv3.c b/pimd/pim_igmpv3.c index 706f708dd1..2e23cdb10f 100644 --- a/pimd/pim_igmpv3.c +++ b/pimd/pim_igmpv3.c @@ -115,9 +115,7 @@ static int igmp_source_timer(struct thread *t) struct igmp_source *source; struct igmp_group *group; - zassert(t); source = THREAD_ARG(t); - zassert(source); group = source->source_group; @@ -1245,9 +1243,7 @@ static int igmp_group_retransmit(struct thread *t) int num_retransmit_sources_left; int send_with_sflag_set; /* boolean */ - zassert(t); group = THREAD_ARG(t); - zassert(group); if (PIM_DEBUG_IGMP_TRACE) { char group_str[INET_ADDRSTRLEN]; |
