]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: dcbnl reduce duplicated code and indentation
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 26 Apr 2011 10:05:14 +0000 (10:05 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Jun 2011 08:18:47 +0000 (01:18 -0700)
commit88b9943903c1adc74fb2936491c213de57785578
tree1d1102061589f998b3791ce5a605b331bde1cdfa
parente847c4e43b6c9843158369b4a5019999f3ccc6da
ixgbe: dcbnl reduce duplicated code and indentation

Replace duplicated code in if/else branches with single
check and ixgbe_init_interrupt_scheme().

Signed-off-by: John Fastabend <john.r.fastabend@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_dcb_nl.c