Commit d4881430 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

ionic: clean up unnecessary non-static functions

ionic_open() and ionic_stop() are not referenced outside of their
defining file, so make them static.
Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34dec947
...@@ -1658,7 +1658,7 @@ static int ionic_start_queues(struct ionic_lif *lif) ...@@ -1658,7 +1658,7 @@ static int ionic_start_queues(struct ionic_lif *lif)
return 0; return 0;
} }
int ionic_open(struct net_device *netdev) static int ionic_open(struct net_device *netdev)
{ {
struct ionic_lif *lif = netdev_priv(netdev); struct ionic_lif *lif = netdev_priv(netdev);
int err; int err;
...@@ -1704,7 +1704,7 @@ static void ionic_stop_queues(struct ionic_lif *lif) ...@@ -1704,7 +1704,7 @@ static void ionic_stop_queues(struct ionic_lif *lif)
ionic_txrx_disable(lif); ionic_txrx_disable(lif);
} }
int ionic_stop(struct net_device *netdev) static int ionic_stop(struct net_device *netdev)
{ {
struct ionic_lif *lif = netdev_priv(netdev); struct ionic_lif *lif = netdev_priv(netdev);
......
...@@ -236,8 +236,6 @@ int ionic_lif_size(struct ionic *ionic); ...@@ -236,8 +236,6 @@ int ionic_lif_size(struct ionic *ionic);
int ionic_lif_rss_config(struct ionic_lif *lif, u16 types, int ionic_lif_rss_config(struct ionic_lif *lif, u16 types,
const u8 *key, const u32 *indir); const u8 *key, const u32 *indir);
int ionic_open(struct net_device *netdev);
int ionic_stop(struct net_device *netdev);
int ionic_reset_queues(struct ionic_lif *lif, ionic_reset_cb cb, void *arg); int ionic_reset_queues(struct ionic_lif *lif, ionic_reset_cb cb, void *arg);
static inline void debug_stats_txq_post(struct ionic_queue *q, static inline void debug_stats_txq_post(struct ionic_queue *q,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment