diff mbox series

[net-next] ethtool: cmis_cdb: Remove unused declaration ethtool_cmis_page_fini()

Message ID 20240803112213.4044015-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit edfa53dd617f682cb43a1488bf08aca9a3e4236c
Delegated to: Netdev Maintainers
Headers show
Series [net-next] ethtool: cmis_cdb: Remove unused declaration ethtool_cmis_page_fini() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 29 this patch: 29
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 1 maintainers not CCed: petrm@nvidia.com
netdev/build_clang success Errors and warnings before: 29 this patch: 29
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
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: 29 this patch: 29
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-08-06--00-00 (tests: 707)

Commit Message

Yue Haibing Aug. 3, 2024, 11:22 a.m. UTC
ethtool_cmis_page_fini() is declared but never implemented.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 net/ethtool/cmis.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Danielle Ratson Aug. 4, 2024, 8:08 a.m. UTC | #1
> From: Yue Haibing <yuehaibing@huawei.com>
> Sent: Saturday, 3 August 2024 14:22
> To: davem@davemloft.net; edumazet@google.com; kuba@kernel.org;
> pabeni@redhat.com; Danielle Ratson <danieller@nvidia.com>;
> yuehaibing@huawei.com
> Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH net-next] ethtool: cmis_cdb: Remove unused declaration
> ethtool_cmis_page_fini()
> 
> ethtool_cmis_page_fini() is declared but never implemented.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/ethtool/cmis.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/net/ethtool/cmis.h b/net/ethtool/cmis.h index
> e71cc3e1b7eb..3e7c293af78c 100644
> --- a/net/ethtool/cmis.h
> +++ b/net/ethtool/cmis.h
> @@ -108,7 +108,6 @@ void ethtool_cmis_cdb_check_completion_flag(u8
> cmis_rev, u8 *flags);
> 
>  void ethtool_cmis_page_init(struct ethtool_module_eeprom *page_data,
>  			    u8 page, u32 offset, u32 length); -void
> ethtool_cmis_page_fini(struct ethtool_module_eeprom *page_data);
> 
>  struct ethtool_cmis_cdb *
>  ethtool_cmis_cdb_init(struct net_device *dev,
> --
> 2.34.1
> 

Reviewed-by: Danielle Ratson <danieller@nvidia.com>

Thanks!
patchwork-bot+netdevbpf@kernel.org Aug. 6, 2024, 8:28 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 3 Aug 2024 19:22:13 +0800 you wrote:
> ethtool_cmis_page_fini() is declared but never implemented.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/ethtool/cmis.h | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - [net-next] ethtool: cmis_cdb: Remove unused declaration ethtool_cmis_page_fini()
    https://git.kernel.org/netdev/net-next/c/edfa53dd617f

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/ethtool/cmis.h b/net/ethtool/cmis.h
index e71cc3e1b7eb..3e7c293af78c 100644
--- a/net/ethtool/cmis.h
+++ b/net/ethtool/cmis.h
@@ -108,7 +108,6 @@  void ethtool_cmis_cdb_check_completion_flag(u8 cmis_rev, u8 *flags);
 
 void ethtool_cmis_page_init(struct ethtool_module_eeprom *page_data,
 			    u8 page, u32 offset, u32 length);
-void ethtool_cmis_page_fini(struct ethtool_module_eeprom *page_data);
 
 struct ethtool_cmis_cdb *
 ethtool_cmis_cdb_init(struct net_device *dev,