Commit fce10282 authored by Paolo Abeni's avatar Paolo Abeni Committed by David S. Miller

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: default avatarPaolo Abeni <pabeni@redhat.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6aa90a7
...@@ -3837,19 +3837,6 @@ int devlink_resources_validate(struct devlink *devlink, ...@@ -3837,19 +3837,6 @@ int devlink_resources_validate(struct devlink *devlink,
return err; 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[] = { static const struct devlink_param devlink_param_generic[] = {
{ {
.id = DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET, .id = DEVLINK_PARAM_GENERIC_ID_INT_ERR_RESET,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment