]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: cleanup unnecessary return value in ixgbe_cache_ring_rss
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Nov 2010 03:27:06 +0000 (19:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:27:06 +0000 (19:27 -0800)
commit9d6b758f428d2ad9ca4208d5c4d4cdbd4261b0d8
tree2b0614b71ec71395b9c62029396573450a92716c
parent673ac60461082e07be58b23f237d651c2605ce60
ixgbe: cleanup unnecessary return value in ixgbe_cache_ring_rss

This change is just to cleanup some confusing logic in ixgbe_cache_ring_rss
which can be simplified by adding a conditional with return to the start of
the call.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c