summaryrefslogtreecommitdiffstats
path: root/pimd/pim_ssmpingd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-18 15:44:09 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-18 15:44:09 +0200
commit25c58d6d2bbec1de1ab21d76f8bd2cd6cd65df0b (patch)
treeabd29b34a96ac6c439369f7b609e3fea1ed4405e /pimd/pim_ssmpingd.c
parentpimd: Thread changes allow pim to crash a boo (diff)
downloadfrr-25c58d6d2bbec1de1ab21d76f8bd2cd6cd65df0b.tar.xz
frr-25c58d6d2bbec1de1ab21d76f8bd2cd6cd65df0b.zip
pimd: Address PR Comments
Remove a bit more dead code and unused variable. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_ssmpingd.c')
-rw-r--r--pimd/pim_ssmpingd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/pimd/pim_ssmpingd.c b/pimd/pim_ssmpingd.c
index c907d66d5..dd92ff1b2 100644
--- a/pimd/pim_ssmpingd.c
+++ b/pimd/pim_ssmpingd.c
@@ -310,13 +310,10 @@ static int ssmpingd_read_msg(struct ssmpingd_sock *ss)
static int ssmpingd_sock_read(struct thread *t)
{
struct ssmpingd_sock *ss;
- int sock_fd;
int result;
ss = THREAD_ARG(t);
- sock_fd = THREAD_FD(t);
-
result = ssmpingd_read_msg(ss);
/* Keep reading */