Commit 61db26c6 authored by Claudiu Manoil's avatar Claudiu Manoil Committed by David S. Miller

gianfar: gfar_process_frame returns void

No return code is expected from gfar_process_frame(), hence
change it to return void.
Signed-off-by: default avatarClaudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd9e89f2
...@@ -133,7 +133,7 @@ static void gfar_netpoll(struct net_device *dev); ...@@ -133,7 +133,7 @@ static void gfar_netpoll(struct net_device *dev);
#endif #endif
int gfar_clean_rx_ring(struct gfar_priv_rx_q *rx_queue, int rx_work_limit); int gfar_clean_rx_ring(struct gfar_priv_rx_q *rx_queue, int rx_work_limit);
static int gfar_clean_tx_ring(struct gfar_priv_tx_q *tx_queue); static int gfar_clean_tx_ring(struct gfar_priv_tx_q *tx_queue);
static int gfar_process_frame(struct net_device *dev, struct sk_buff *skb, static void gfar_process_frame(struct net_device *dev, struct sk_buff *skb,
int amount_pull, struct napi_struct *napi); int amount_pull, struct napi_struct *napi);
void gfar_halt(struct net_device *dev); void gfar_halt(struct net_device *dev);
static void gfar_halt_nodisable(struct net_device *dev); static void gfar_halt_nodisable(struct net_device *dev);
...@@ -2692,7 +2692,7 @@ static inline void gfar_rx_checksum(struct sk_buff *skb, struct rxfcb *fcb) ...@@ -2692,7 +2692,7 @@ static inline void gfar_rx_checksum(struct sk_buff *skb, struct rxfcb *fcb)
/* gfar_process_frame() -- handle one incoming packet if skb isn't NULL. */ /* gfar_process_frame() -- handle one incoming packet if skb isn't NULL. */
static int gfar_process_frame(struct net_device *dev, struct sk_buff *skb, static void gfar_process_frame(struct net_device *dev, struct sk_buff *skb,
int amount_pull, struct napi_struct *napi) int amount_pull, struct napi_struct *napi)
{ {
struct gfar_private *priv = netdev_priv(dev); struct gfar_private *priv = netdev_priv(dev);
...@@ -2742,8 +2742,6 @@ static int gfar_process_frame(struct net_device *dev, struct sk_buff *skb, ...@@ -2742,8 +2742,6 @@ static int gfar_process_frame(struct net_device *dev, struct sk_buff *skb,
if (unlikely(GRO_DROP == ret)) if (unlikely(GRO_DROP == ret))
atomic64_inc(&priv->extra_stats.kernel_dropped); atomic64_inc(&priv->extra_stats.kernel_dropped);
return 0;
} }
/* gfar_clean_rx_ring() -- Processes each frame in the rx ring /* gfar_clean_rx_ring() -- Processes each frame in the rx ring
......
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