Skip to contentSkip to conversation

ionic: Remove unused function pointer typedef ionic_reset_cb

PATCH Applied Chen Lin 3 participants 3 messages Feb 16, 2021

Subsystems (3)
lore
Share & tools
lore

Chen Lin

author
#0 lore raw

PATCH 1/1 ionic: Remove unused function pointer typedef ionic_reset_cb

From: Chen Lin <[email protected]>

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

---
 drivers/net/ethernet/pensando/ionic/ionic_lif.h |    2 --
 1 file changed, 2 deletions(-)
drivers/net/ethernet/pensando/ionic/ionic_lif.h +0 -2
index 9bed427..563dba3 100644
@@ -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);
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Chen Lin

From: Chen Lin <[email protected]>

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

---
  drivers/net/ethernet/pensando/ionic/ionic_lif.h |    2 --
  1 file changed, 2 deletions(-)
drivers/net/ethernet/pensando/ionic/ionic_lif.h +0 -0
index 9bed427..563dba3 100644

drivers/net/ethernet/pensando/ionic/ionic_lif.h static inline u32 ionic_coal_usec_to_hw(struct ionic *ionic, u32 usecs) · line 254

Quoted 8 lines
drivers/net/ethernet/pensando/ionic/ionic_lif.h +0 -2
@@ -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.

#2 lore raw
In reply to Chen Lin
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

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

Quoted 8 lines · On Tue, 16 Feb 2021 12:05:30 +0800 you wrote:

From: Chen Lin <[email protected]>

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

---
 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