aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Lin <[email protected]>2021-02-16 12:05:30 +0800
committerDavid S. Miller <[email protected]>2021-02-16 13:43:58 -0800
commit6825a456c9a3ac631b9aa59318901bea23e4d51b (patch)
treeecef09405c859e95a357e0ea0675da822beaba7e
parentb8af417e4d93caeefb89bbfbd56ec95dedd8dab5 (diff)
ionic: Remove unused function pointer typedef ionic_reset_cb
Remove the 'ionic_reset_cb' typedef as it is not used. Signed-off-by: Chen Lin <[email protected]> Acked-by: Shannon Nelson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_lif.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.h b/drivers/net/ethernet/pensando/ionic/ionic_lif.h
index 9bed42719ae5..563dba384a53 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);