All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb
@ 2021-02-16  4:05 Chen Lin
  2021-02-16 21:26 ` Shannon Nelson
  2021-02-16 22:00 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Lin @ 2021-02-16  4:05 UTC (permalink / raw)
  To: davem, kuba; +Cc: drivers, snelson, netdev, linux-kernel, Chen Lin

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);
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb
  2021-02-16  4:05 [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb Chen Lin
@ 2021-02-16 21:26 ` Shannon Nelson
  2021-02-16 22:00 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Shannon Nelson @ 2021-02-16 21:26 UTC (permalink / raw)
  To: Chen Lin, davem, kuba; +Cc: drivers, netdev, linux-kernel, Chen Lin

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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb
  2021-02-16  4:05 [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb Chen Lin
  2021-02-16 21:26 ` Shannon Nelson
@ 2021-02-16 22:00 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-02-16 22:00 UTC (permalink / raw)
  To: Chen Lin; +Cc: davem, kuba, drivers, snelson, netdev, linux-kernel, chen.lin5

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-16 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  4:05 [PATCH] ionic: Remove unused function pointer typedef ionic_reset_cb Chen Lin
2021-02-16 21:26 ` Shannon Nelson
2021-02-16 22:00 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.