From: Alexander Duyck Date: Fri, 26 Aug 2011 07:44:43 +0000 (+0000) Subject: igb: Make first and tx_buffer_info->next_to_watch into pointers X-Git-Tag: v3.2-rc1~129^2~123^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8542db05dbc99f603889c349e5cf8f3f81cddbf5;p=pandora-kernel.git igb: Make first and tx_buffer_info->next_to_watch into pointers This change converts two tx_buffer_info index values into pointers. The advantage to this is that we reduce unnecessary computations and in the case of next_to_watch we get an added bonus of the value being able to provide additional information as a NULL value indicates it is unset versus a 0 not having any meaning for the index value. Signed-off-by: Alexander Duyck Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed