devlink: Remove top_hierarchy arg for DEVLINK disabled path
authorDavid Ahern <dsahern@gmail.com>
Fri, 23 Mar 2018 15:09:48 +0000 (08:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 16:14:18 +0000 (12:14 -0400)
commite9de0018d1fa97f8db9a39fcb69b55266c52835b
tree3cc2a7666925c19092417cf24d300d07cd098571
parent03fe2debbb2771fb90881e4ce8109b09cf772a5c
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>
include/net/devlink.h