diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-02-17 19:09:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-02-20 11:38:35 +0000 |
commit | fce10282a03db59bdb1cba6333d0564461d47bd6 (patch) | |
tree | ccee6e3ad8db16127ccd47bef97c3a6aa7c23323 | |
parent | f6aa90a7a94a64f8c7ad28e09c1339624a824506 (diff) | |
download | lwn-fce10282a03db59bdb1cba6333d0564461d47bd6.tar.gz lwn-fce10282a03db59bdb1cba6333d0564461d47bd6.zip |
devlink: drop leftover duplicate/unused code
The recent merge from net left-over some unused code in
leftover.c - nomen omen.
Just drop the unused bits.
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/devlink/leftover.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/devlink/leftover.c b/net/devlink/leftover.c index 8fc85ba3f6e0..dffca2f9bfa7 100644 --- a/net/devlink/leftover.c +++ b/net/devlink/leftover.c @@ -3837,19 +3837,6 @@ int devlink_resources_validate(struct devlink *devlink, return err; } -static void devlink_param_notify(struct devlink *devlink, - unsigned int port_index, - struct devlink_param_item *param_item, - enum devlink_command cmd); - -struct devlink_info_req { - struct sk_buff *msg; - void (*version_cb)(const char *version_name, - enum devlink_info_version_type version_type, - void *version_cb_priv); - void *version_cb_priv; -}; - static const struct devlink_param devlink_param_generic[] = { { .id = DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET, |