From: Phil Sutter Date: Thu, 17 Aug 2017 17:09:30 +0000 (+0200) Subject: ss: Drop useless assignment X-Git-Tag: v4.13.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e469523e8e8d1d31c3b35251105e2a843216d687;p=thirdparty%2Fiproute2.git ss: Drop useless assignment After '*b = *a', 'b->next' already has the same value as 'a->next'. Signed-off-by: Phil Sutter --- diff --git a/misc/ss.c b/misc/ss.c index 419076b2d..bd68ecdca 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);