summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/gianfar.c
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO2012-06-04 08:36:22 +0200
committerDavid S. Miller2012-06-04 19:51:45 +0200
commit13497f58670c4e7a30170738f07b17d90011c785 (patch)
tree5be5f38141e71b73289acea2320a6a3235b752f8 /drivers/net/ethernet/freescale/gianfar.c
parentnet/9p: Add __force to cast of __user pointer (diff)
downloadkernel-qcow2-linux-13497f58670c4e7a30170738f07b17d90011c785.tar.gz
kernel-qcow2-linux-13497f58670c4e7a30170738f07b17d90011c785.tar.xz
kernel-qcow2-linux-13497f58670c4e7a30170738f07b17d90011c785.zip
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar.c')
0 files changed, 0 insertions, 0 deletions