From: paco Date: Mon, 18 Jun 2018 16:41:57 +0000 (+0200) Subject: ldpd: redundant pointer operation (cppcheck) X-Git-Tag: frr-6.1-dev~306^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e83c042a88acc2d1741074a9bb05602e0ab68a3a;p=matthieu%2Ffrr.git ldpd: redundant pointer operation (cppcheck) Signed-off-by: F. Aragon --- diff --git a/ldpd/packet.c b/ldpd/packet.c index 4a4b258b91..b0f9c5eb14 100644 --- a/ldpd/packet.c +++ b/ldpd/packet.c @@ -144,7 +144,7 @@ disc_recv_packet(struct thread *thread) /* reschedule read */ *threadp = NULL; - thread_add_read(master, disc_recv_packet, threadp, fd, &*threadp); + thread_add_read(master, disc_recv_packet, threadp, fd, threadp); /* setup buffer */ memset(&m, 0, sizeof(m));