diff options
author | Yi Zou <yi.zou@intel.com> | 2009-08-06 09:05:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-10 00:45:35 -0400 |
commit | a6616b42fbc39c1ccc2373996f1441ce7707ea93 (patch) | |
tree | 1f4092de64ad7afab2d44b1f5864a74f6abdb92e /drivers/cdrom | |
parent | 876bfd4d0f18cd1f698249870c7e7fb944de1c26 (diff) |
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 <yi.zou@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions