commit | 145307460ba9c11489807de7acd3f4c7395f60b7 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue Mar 20 19:31:14 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 22 13:08:41 2018 -0400 |
tree | c15227c333ad04300f6cb1727ad5b83cf98ebfcd | |
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>