summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-05 20:29:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-05 20:29:14 +0000
commiteacf9a761481cb9c553afdac0170c5ad43ee58c6 (patch)
treed17c6607d24560d155ee0bf0a5354513c391c404
parentba288eeb84062299974a0087ae8ba39517086e85 (diff)
downloadmtk-20170518-eacf9a761481cb9c553afdac0170c5ad43ee58c6.zip
mtk-20170518-eacf9a761481cb9c553afdac0170c5ad43ee58c6.tar.gz
mtk-20170518-eacf9a761481cb9c553afdac0170c5ad43ee58c6.tar.bz2
ar71xx: ag71xx: don't use dev->trans_start
SVN-Revision: 20002
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h2
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index 5e3573b..8b50238 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
@@ -38,7 +38,7 @@
#define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx"
-#define AG71XX_DRV_VERSION "0.5.30"
+#define AG71XX_DRV_VERSION "0.5.31"
#define AG71XX_NAPI_WEIGHT 64
#define AG71XX_OOM_REFILL (1 + HZ/10)
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
index cb4ccf0..5362ede 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c
@@ -543,8 +543,6 @@ static netdev_tx_t ag71xx_hard_start_xmit(struct sk_buff *skb,
/* enable TX engine */
ag71xx_wr(ag, AG71XX_REG_TX_CTRL, TX_CTRL_TXE);
- dev->trans_start = jiffies;
-
return NETDEV_TX_OK;
err_drop: