]> 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)
commita6aadeb8bf9f3fc8646971cdd68c444b84defd77
tree1d1102061589f998b3791ce5a605b331bde1cdfa
parent47f10b488d53127473dc7c84668e261f3715d84b
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