Skip to content

Commit

Permalink
devlink: Remove top_hierarchy arg for DEVLINK disabled path
Browse files Browse the repository at this point in the history
Earlier change missed the path where CONFIG_NET_DEVLINK is disabled.
Thanks to Jiri for spotting.

Fixes: 1453074 ("devlink: Remove top_hierarchy arg to devlink_resource_register")
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
dsahern authored and davem330 committed Mar 23, 2018
1 parent 03fe2de commit e9de001
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/devlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ devlink_dpipe_match_put(struct sk_buff *skb,
static inline int
devlink_resource_register(struct devlink *devlink,
const char *resource_name,
bool top_hierarchy,
u64 resource_size,
u64 resource_id,
u64 parent_resource_id,
Expand Down

0 comments on commit e9de001

Please sign in to comment.