From: Alexander Duyck Date: Sat, 28 Sep 2013 06:00:32 +0000 (+0000) Subject: i40e: Drop dead code and flags from Tx hotpath X-Git-Tag: v3.13-rc1~105^2~194^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b194130627580519e63665660db055bfe82b6949;p=pandora-kernel.git i40e: Drop dead code and flags from Tx hotpath Drop Tx flag and TXSW which is tested but never set. As a result of this change we can drop a complicated check that always resulted in the final result of i40e_tx_csum being equal to the CHECKSUM_PARTIAL value. As such we can replace the entire function call with just a check for skb->summed == CHECKSUM_PARTIAL. Signed-off-by: Alexander Duyck Signed-off-by: Jesse Brandeburg Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed