]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: improve logic in ixgbe_init_mbx_params_pf
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 3 Mar 2011 09:25:02 +0000 (09:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 8 Mar 2011 02:08:01 +0000 (18:08 -0800)
commit373f8a38ea19e7a717c3c1f9094b731b78ad5ece
tree976a5825650627ca0650789f9650072ad0c8f1c9
parente262f21f2c3dcee889ac48433856dc71df9cde39
ixgbe: improve logic in ixgbe_init_mbx_params_pf

Use if/then instead of an all-inclusive case statement.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_mbx.c