summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2011-05-05 02:10:50 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-05 19:43:03 +0200
commit34da9e50e908c4553ddefb38da2c5bacbe2bba58 (patch)
tree877168ea6af293c3612069842b7943b15bf02c21 /drivers/net/stmmac
parentcan: rename can_try_module_get to can_get_proto (diff)
downloadlinux-34da9e50e908c4553ddefb38da2c5bacbe2bba58.tar.xz
linux-34da9e50e908c4553ddefb38da2c5bacbe2bba58.zip
stmmac: removed not used definitions
Reported-by: Karim Hamiti <karim.hamiti@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac')
-rw-r--r--drivers/net/stmmac/stmmac_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index ba9daeccb8af..e15c4a0bb96d 100644
--- a/drivers/net/stmmac/stmmac_main.c
+++ b/drivers/net/stmmac/stmmac_main.c
@@ -116,9 +116,6 @@ static int tc = TC_DEFAULT;
module_param(tc, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(tc, "DMA threshold control value");
-#define RX_NO_COALESCE 1 /* Always interrupt on completion */
-#define TX_NO_COALESCE -1 /* No moderation by default */
-
/* Pay attention to tune this parameter; take care of both
* hardware capability and network stabitily/performance impact.
* Many tests showed that ~4ms latency seems to be good enough. */