diff options
author | David Ahern <dsahern@gmail.com> | 2018-03-23 11:09:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-23 12:14:18 -0400 |
commit | e9de0018d1fa97f8db9a39fcb69b55266c52835b (patch) | |
tree | 3cc2a7666925c19092417cf24d300d07cd098571 | |
parent | 03fe2debbb2771fb90881e4ce8109b09cf772a5c (diff) |
devlink: Remove top_hierarchy arg for DEVLINK disabled path
Earlier change missed the path where CONFIG_NET_DEVLINK is disabled.
Thanks to Jiri for spotting.
Fixes: 145307460ba9 ("devlink: Remove top_hierarchy arg to devlink_resource_register")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-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 d5b707375e48..e21d8cadd480 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h | |||
@@ -559,7 +559,6 @@ devlink_dpipe_match_put(struct sk_buff *skb, | |||
559 | static inline int | 559 | static inline int |
560 | devlink_resource_register(struct devlink *devlink, | 560 | devlink_resource_register(struct devlink *devlink, |
561 | const char *resource_name, | 561 | const char *resource_name, |
562 | bool top_hierarchy, | ||
563 | u64 resource_size, | 562 | u64 resource_size, |
564 | u64 resource_id, | 563 | u64 resource_id, |
565 | u64 parent_resource_id, | 564 | u64 parent_resource_id, |