commit | 13497f58670c4e7a30170738f07b17d90011c785 | [log] [tgz] |
---|---|---|
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | Mon Jun 04 06:36:22 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 04 13:51:45 2012 -0400 |
tree | 5be5f38141e71b73289acea2320a6a3235b752f8 | |
parent | f07d90107caeaa6913c70ad97b536f8cec45e8e7 [diff] |
stmmac: remove two useless initialisations 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>