summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/renesas/sh_eth.h
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2012-06-26 21:59:51 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-27 10:24:16 +0200
commitc26502680e59af556211fc3fd3ae0f2aa5d98440 (patch)
tree59b7337139c679171329d1286296a4846f9e7749 /drivers/net/ethernet/renesas/sh_eth.h
parentbnx2x: Change bnx2x_tests_str_arr to static char (diff)
downloadlinux-c26502680e59af556211fc3fd3ae0f2aa5d98440.tar.xz
linux-c26502680e59af556211fc3fd3ae0f2aa5d98440.zip
net: sh_eth: remove unnecessary function
The sh_eth_timer() called mod_timer() for itself. So, this patch removes the function. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/renesas/sh_eth.h')
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h
index d6763b1392d7..5af3f2afaa28 100644
--- a/drivers/net/ethernet/renesas/sh_eth.h
+++ b/drivers/net/ethernet/renesas/sh_eth.h
@@ -772,7 +772,6 @@ struct sh_eth_private {
struct sh_eth_txdesc *tx_ring;
struct sk_buff **rx_skbuff;
struct sk_buff **tx_skbuff;
- struct timer_list timer;
spinlock_t lock;
u32 cur_rx, dirty_rx; /* Producer/consumer ring indices */
u32 cur_tx, dirty_tx;