Message ID | 8ad783f77a577505653d90fb47075ea4c9ca5d97.1676657010.git.pabeni@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fce10282a03db59bdb1cba6333d0564461d47bd6 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] devlink: drop leftover duplicate/unused code | expand |
Fri, Feb 17, 2023 at 07:09:20PM CET, pabeni@redhat.com wrote: >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>
Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Fri, 17 Feb 2023 19:09:20 +0100 you wrote: > 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> > > [...] Here is the summary with links: - [net-next] devlink: drop leftover duplicate/unused code https://git.kernel.org/netdev/net-next/c/fce10282a03d You are awesome, thank you!
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,
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> --- net/devlink/leftover.c | 13 ------------- 1 file changed, 13 deletions(-)