From: Alexander Duyck Date: Sat, 5 May 2012 05:30:59 +0000 (+0000) Subject: ixgbe: Clean up a useless switch statement and dead code in configure_srrctl X-Git-Tag: v3.6-rc1~125^2~197^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e9baa515df201455658e609c19e5ef7c628756;p=pandora-kernel.git ixgbe: Clean up a useless switch statement and dead code in configure_srrctl This patch replaces a switch statement for an 82598 workaround with an if statement that only applies to 82598. In addition I am pulling out several dead pieces of code and instead of reading the SRRCTL register and then modifying it we are just writing a value which we generate from scratch. Finally I am also removing any drop enable related code since that was moved to a function of its own. Signed-off-by: Alexander Duyck Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed