commit | ec74a4715549ed4823df7ad4ecc81a8416b7f6bd | [log] [tgz] |
---|---|---|
author | Emil Tantilov <emil.s.tantilov@intel.com> | Thu Sep 20 03:33:56 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Oct 29 22:31:59 2012 -0700 |
tree | 817b80836c9a1cebca2f9e908a902c53379b6814 | |
parent | b3343a2a2c95b3b7ed4f6596e860c4276ba46217 [diff] |
ixgbe: clean up the condition for turning on/off the laser 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>