lwtunnel: remove device arg to lwtunnel_build_state

Nothing about lwt state requires a device reference, so remove the
input argument.

Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
David Ahern 2017-01-30 12:07:37 -08:00 • committed by David S. Miller
commit 30357d7d8a
9 changed files with 20 additions and 31 deletions

View file

@ -133,7 +133,7 @@ drop:
return -EINVAL;
}
static int mpls_build_state(struct net_device *dev, struct nlattr *nla,
static int mpls_build_state(struct nlattr *nla,
unsigned int family, const void *cfg,
struct lwtunnel_state **ts)
{