diff options
author | David Ahern <dsahern@gmail.com> | 2018-03-20 19:31:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 13:08:41 -0400 |
commit | 145307460ba9c11489807de7acd3f4c7395f60b7 (patch) | |
tree | c15227c333ad04300f6cb1727ad5b83cf98ebfcd /include/net/devlink.h | |
parent | 8ae797aaa845317bddfbf14f4b37514b017045a6 (diff) |
devlink: Remove top_hierarchy arg to devlink_resource_register
top_hierarchy arg can be determined by comparing parent_resource_id to
DEVLINK_RESOURCE_ID_PARENT_TOP so it does not need to be a separate
argument.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
-rw-r--r-- | include/net/devlink.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/devlink.h b/include/net/devlink.h index c83125ad20ff..d5b707375e48 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -406,7 +406,6 @@ extern struct devlink_dpipe_header devlink_dpipe_header_ipv6; int devlink_resource_register(struct devlink *devlink, const char *resource_name, - bool top_hierarchy, u64 resource_size, u64 resource_id, u64 parent_resource_id, |