stmmac: use one memset() to reset TDES01
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 17 Sep 2010 03:23:42 +0000 (03:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Sep 2010 23:12:58 +0000 (16:12 -0700)
commitb71c7aaa1e2a9858f0c469026098fbd6e046d7bb
tree39c7454d1e2230f9176e1a3c47b92e3f76a9f256
parentc629882ac73cab2cd41d9948caeed633fc570fc0
stmmac: use one memset() to reset TDES01

Use one memset() to reset all TDES01 fields instead
of one by one to reduce number of instructions.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/enh_desc.c
drivers/net/stmmac/norm_desc.c