net: remove ipv6_addr_copy()

C assignment can handle struct in6_addr copying.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Alexey Dobriyan
2011-11-21 03:39:03 +00:00
committed by David S. Miller
parent 40ba84993d
commit 4e3fd7a06d
66 changed files with 288 additions and 315 deletions

View File

@@ -96,7 +96,7 @@ static int fib6_rule_action(struct fib_rule *rule, struct flowi *flp,
if (!ipv6_prefix_equal(&saddr, &r->src.addr,
r->src.plen))
goto again;
ipv6_addr_copy(&flp6->saddr, &saddr);
flp6->saddr = saddr;
}
goto out;
}