OSDN Git Service

i40e: fix odd formatting and indent
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 20 Jun 2017 22:16:57 +0000 (15:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jul 2017 10:25:19 +0000 (03:25 -0700)
commit4d433084dd3b8b9ce656c35505e7dc5bd1d929b5
tree80e8c7627e53e1768d328b9158630943e9ccba6f
parent0ac30ce433232944e702876c1288c0d50eee3151
i40e: fix odd formatting and indent

The compiler warned on an oddly indented bit of code, and when
investigating that, noted that the functions themselves had
an odd flow. The if condition was checked, and would exclude
a call to AQ, but then the aq_ret would be checked unconditionally
which just looks really weird, and is likely to cause objections.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c