]> git.baikalelectronics.ru Git - kernel.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)
commit6202b8aab437e2d220c804223bf1b59a54588533
tree2b0614b71ec71395b9c62029396573450a92716c
parentc625fd7b19c90d7b991399050e46e7448d8c454f
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