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)
commitd7c8a29fc8bd20ba45ec2f52577ed04a988a9500
tree976a5825650627ca0650789f9650072ad0c8f1c9
parent77ed18f302a2ef8d7b00ef6e804d23239db12ee1
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