diff options
| author | Emil Tantilov <emil.s.tantilov@intel.com> | 2012-09-20 03:33:56 +0000 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-10-29 22:31:59 -0700 |
| commit | ec74a4715549ed4823df7ad4ecc81a8416b7f6bd (patch) | |
| tree | 817b80836c9a1cebca2f9e908a902c53379b6814 /drivers/net/xen-netback/interface.c | |
| parent | b3343a2a2c95b3b7ed4f6596e860c4276ba46217 (diff) | |
| download | olio-linux-3.10-ec74a4715549ed4823df7ad4ecc81a8416b7f6bd.tar.xz olio-linux-3.10-ec74a4715549ed4823df7ad4ecc81a8416b7f6bd.zip | |
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>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions