diff mbox series

[net-next] devlink: drop leftover duplicate/unused code

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

Checks

Context Check Description
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 2 this patch: 2
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 1 this patch: 1
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 2 this patch: 2
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 19 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Paolo Abeni Feb. 17, 2023, 6:09 p.m. UTC
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(-)

Comments

Jiri Pirko Feb. 20, 2023, 9:05 a.m. UTC | #1
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>
patchwork-bot+netdevbpf@kernel.org Feb. 20, 2023, 11:40 a.m. UTC | #2
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 mbox series

Patch

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,