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 <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
David Ahern
2017-01-30 12:07:37 -08:00
提交者 David S. Miller
父節點 6ad20165d3
當前提交 30357d7d8a
共有 9 個檔案被更改,包括 20 行新增31 行删除

查看文件

@@ -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)
{