From e469523e8e8d1d31c3b35251105e2a843216d687 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 17 Aug 2017 19:09:30 +0200 Subject: [PATCH] ss: Drop useless assignment After '*b = *a', 'b->next' already has the same value as 'a->next'. Signed-off-by: Phil Sutter --- misc/ss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/ss.c b/misc/ss.c index 419076b2..bd68ecdc 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -1440,7 +1440,6 @@ static int remember_he(struct aafilter *a, struct hostent *he) if ((b = malloc(sizeof(*b))) == NULL) return cnt; *b = *a; - b->next = a->next; a->next = b; } memcpy(b->addr.data, *ptr, len);