ixgbe: clean up the condition for turning on/off the laser
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 20 Sep 2012 03:33:56 +0000 (03:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Oct 2012 05:31:59 +0000 (22:31 -0700)
This patch simplifies the check for calling en/disable_tx_laser() function
pointer. The pointer is only set on parts that can use it.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found