i40e: remove extraneous loop in i40e_vsi_wait_queues_disabled
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 5 Apr 2017 11:50:58 +0000 (07:50 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Apr 2017 09:53:50 +0000 (02:53 -0700)
commitaf26ce2dfbf269a9608008b33a7ff978e2a7b9a9
tree3fde02179ecee4fda8b725cb4b16a55d42f49da2
parent41c4c2b50d52346bdc994bd0e0c92f07bb1bb1f8
i40e: remove extraneous loop in i40e_vsi_wait_queues_disabled

We can simply check both Tx and Rx queues in a single loop, rather than
repeating the loop twice.

Change-ID: Ic06f26b0e3c2620e0e33c1a2999edda488e647ad
Signed-off-by: Jacob Keller <jacob.e.keller@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_main.c