From: Emil Tantilov Date: Thu, 20 Sep 2012 03:33:56 +0000 (+0000) Subject: ixgbe: clean up the condition for turning on/off the laser X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~526^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec74a4715549ed4823df7ad4ecc81a8416b7f6bd;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed