be2net: do external loopback test only when it is requested
authorIvan Vecera <ivecera@redhat.com>
Wed, 5 Mar 2014 10:54:05 +0000 (11:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 22:01:10 +0000 (17:01 -0500)
commit5a8a1ab74dce1b50fe27745df477c502aec987eb
treeb532db2122c3adf41b6e7dcba705c122d0d80359
parentd0ceebd7508d5bf6e81367640959aef7e0de4947
be2net: do external loopback test only when it is requested

v2: remove unnecessary braces from all 'loopback' if-blocks (thx Sergei)

Cc: sathya.perla@emulex.com
Cc: subbu.seetharaman@emulex.com
Cc: ajit.khaparde@emulex.com
Cc: sergei.shtylyov@cogentembedded.com
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_ethtool.c