ss: Drop useless assignment
After '*b = *a', 'b->next' already has the same value as 'a->next'. Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
parent
44448a90ea
commit
e469523e8e
|
|
@ -1440,7 +1440,6 @@ static int remember_he(struct aafilter *a, struct hostent *he)
|
||||||
if ((b = malloc(sizeof(*b))) == NULL)
|
if ((b = malloc(sizeof(*b))) == NULL)
|
||||||
return cnt;
|
return cnt;
|
||||||
*b = *a;
|
*b = *a;
|
||||||
b->next = a->next;
|
|
||||||
a->next = b;
|
a->next = b;
|
||||||
}
|
}
|
||||||
memcpy(b->addr.data, *ptr, len);
|
memcpy(b->addr.data, *ptr, len);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue