ionic: Remove unused function pointer typedef ionic_reset_cb
authorChen Lin <chen.lin5@zte.com.cn>
Tue, 16 Feb 2021 04:05:30 +0000 (12:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 21:43:58 +0000 (13:43 -0800)
Remove the 'ionic_reset_cb' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.h

index 9bed427..563dba3 100644 (file)
@@ -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);