stmmac: remove two useless initialisations
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 4 Jun 2012 06:36:22 +0000 (06:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2012 17:51:45 +0000 (13:51 -0400)
This patch removes two useless initialisations in the
stmmac_rx and stmmac_tx functions.
In the former, the count variable was reset twice and in
the stmmac_tx we only need to increment the dirty pointer
w/o setting the entry variable.

v2: review the subject and comment that was not clear in my
first version.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found