From: Yi Zou Date: Thu, 6 Aug 2009 13:05:23 +0000 (+0000) Subject: ixgbe: Pass rx_ring directly in ixgbe_configure_srrctl() X-Git-Tag: v2.6.31-rc7~27^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6616b42fbc39c1ccc2373996f1441ce7707ea93;p=pandora-kernel.git ixgbe: Pass rx_ring directly in ixgbe_configure_srrctl() Instead of passing the register index of the corresponding rx_ring and find the way back to get to corresponding rx_ring in ixgbe_configure_srrctl(), simplify the function ixgbe_configure_srrctl() by passing the rx_ring into it. Then the register index for that rx_ring is already available from rx_ring->reg_idx. Signed-off-by: Yi Zou Acked-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed