diff mbox series

ionic: Remove unused function pointer typedef ionic_reset_cb

Message ID 1613448330-4783-1-git-send-email-chen45464546@163.com (mailing list archive)
State Accepted
Commit 6825a456c9a3ac631b9aa59318901bea23e4d51b
Delegated to: Netdev Maintainers
Headers show
Series ionic: Remove unused function pointer typedef ionic_reset_cb | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link
netdev/stable success Stable not CCed

Commit Message

Chen Lin Feb. 16, 2021, 4:05 a.m. UTC
From: Chen Lin <chen.lin5@zte.com.cn>

Remove the 'ionic_reset_cb' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
 drivers/net/ethernet/pensando/ionic/ionic_lif.h |    2 --
 1 file changed, 2 deletions(-)

Comments

Shannon Nelson Feb. 16, 2021, 9:26 p.m. UTC | #1
On 2/15/21 8:05 PM, Chen Lin wrote:
> From: Chen Lin <chen.lin5@zte.com.cn>
>
> Remove the 'ionic_reset_cb' typedef as it is not used.
>
> Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
> ---
>   drivers/net/ethernet/pensando/ionic/ionic_lif.h |    2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.h b/drivers/net/ethernet/pensando/ionic/ionic_lif.h
> index 9bed427..563dba3 100644
> --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.h
> +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.h
> @@ -249,8 +249,6 @@ static inline u32 ionic_coal_usec_to_hw(struct ionic *ionic, u32 usecs)
>   	return (usecs * mult) / div;
>   }
>   
> -typedef void (*ionic_reset_cb)(struct ionic_lif *lif, void *arg);
> -
>   void ionic_link_status_check_request(struct ionic_lif *lif, bool can_sleep);
>   void ionic_get_stats64(struct net_device *netdev,
>   		       struct rtnl_link_stats64 *ns);

Yep - thanks.

Acked-by: Shannon Nelson <snelson@pensando.io>
patchwork-bot+netdevbpf@kernel.org Feb. 16, 2021, 10 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Tue, 16 Feb 2021 12:05:30 +0800 you wrote:
> From: Chen Lin <chen.lin5@zte.com.cn>
> 
> Remove the 'ionic_reset_cb' typedef as it is not used.
> 
> Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
> ---
>  drivers/net/ethernet/pensando/ionic/ionic_lif.h |    2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - ionic: Remove unused function pointer typedef ionic_reset_cb
    https://git.kernel.org/netdev/net-next/c/6825a456c9a3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.h b/drivers/net/ethernet/pensando/ionic/ionic_lif.h
index 9bed427..563dba3 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_lif.h
+++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.h
@@ -249,8 +249,6 @@  static inline u32 ionic_coal_usec_to_hw(struct ionic *ionic, u32 usecs)
 	return (usecs * mult) / div;
 }
 
-typedef void (*ionic_reset_cb)(struct ionic_lif *lif, void *arg);
-
 void ionic_link_status_check_request(struct ionic_lif *lif, bool can_sleep);
 void ionic_get_stats64(struct net_device *netdev,
 		       struct rtnl_link_stats64 *ns);