]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64f27587ae55de717c09720c28648933aa7ce1be
tree50a81e8acd6332b54dced4b75a94fcb3f8ffc7ba
parent68a4c4206cfaf2296b50cbf9627ed9348e40fe23
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