From: Alexander Duyck Date: Thu, 17 May 2012 05:14:39 +0000 (+0000) Subject: ixgbe: Cleanup unpacking code for DCB X-Git-Tag: v3.6-rc1~125^2~153^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0676d1bddf085c4cc4aca39b18f9fcbd08d83d;p=pandora-kernel.git ixgbe: Cleanup unpacking code for DCB This is meant to be a generic clean-up of the remaining functions for unpacking data from the DCB structures. The only real changes are: replaced the variable i with tc for functions that were looping through the traffic classes, and added a pointer for tc_class instead of path since that way we only need to pull the pointer once instead of once per loop. Signed-off-by: Alexander Duyck Tested-by: Phil Schmitt Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed