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)
commit1fcd86b51179518f7e69164e37353fb59cd6301e
tree1d1102061589f998b3791ce5a605b331bde1cdfa
parentc12db7695e1f52b27108c3dfde3cf655a0368c58
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