stmmac: remove useless csum flag
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 21 Aug 2013 07:11:14 +0000 (09:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 03:38:16 +0000 (20:38 -0700)
commit327dfd889527ff2313cc4734a3874e1de2e2e656
tree50a81e8acd6332b54dced4b75a94fcb3f8ffc7ba
parente6b0260c2a154948be825b34e68135c127123d5a
stmmac: remove useless csum flag

This patch removes the no_csum_insertion private parameter that is not used anymore
and, also,  the "likely" annotation from the condition that is not in a critical path.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c