提交 eabd8ba9 编写于 作者: H Henrique Camargo 提交者: David S. Miller

net: Fix a typo from "dev" to "ndev"

The typo was causing compilation errors since "dev" was not defined.
Signed-off-by: NHenrique Camargo <henrique.camargo@ensitec.com.br>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 81a61859
...@@ -1302,8 +1302,8 @@ static int emac_net_tx_complete(struct emac_priv *priv, ...@@ -1302,8 +1302,8 @@ static int emac_net_tx_complete(struct emac_priv *priv,
struct net_device *ndev = priv->ndev; struct net_device *ndev = priv->ndev;
u32 cnt; u32 cnt;
if (unlikely(num_tokens && netif_queue_stopped(dev))) if (unlikely(num_tokens && netif_queue_stopped(ndev)))
netif_start_queue(dev); netif_start_queue(ndev);
for (cnt = 0; cnt < num_tokens; cnt++) { for (cnt = 0; cnt < num_tokens; cnt++) {
struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt]; struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt];
if (skb == NULL) if (skb == NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册