devlink: Delete not-used devlink APIs
authorLeon Romanovsky <leonro@nvidia.com>
Thu, 16 Sep 2021 10:38:33 +0000 (13:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2021 13:19:39 +0000 (14:19 +0100)
commit6db9350a9db370bb2657a37f28cabe5ddf4939a1
treea309c10c55a95e2644b572bbe92016ca85c49ca7
parentb20b54fb00a8c7cfc91ead288a8048cf343d9e7c
devlink: Delete not-used devlink APIs

Devlink core exported generously the functions calls that were used
by netdevsim tests or not used at all.

Delete such APIs with one exception - devlink_alloc_ns(). That function
should be spared from deleting because it is a special form of devlink_alloc()
needed for the netdevsim.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/health.c
include/net/devlink.h
net/core/devlink.c