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_mroute.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_mroute.c')
| -rw-r--r-- | pimd/pim_mroute.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 9cd323a2d0..57dc5550db 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -528,11 +528,8 @@ static int mroute_read(struct thread *t) int fd; int result; - zassert(t); - zassert(!THREAD_ARG(t)); fd = THREAD_FD(t); - zassert(fd == qpim_mroute_socket_fd); result = mroute_read_msg(fd); |
