Re: [net-next.git (v2)] stmmac: remove two useless initialisations
From: David Miller <davem@davemloft.net> Date: 2012-06-04 18:12:02
From: Giuseppe CAVALLARO <redacted>
Date: Mon, 4 Jun 2012 18:36:22 +0200
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 <redacted>