diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-02-08 12:50:54 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-03-19 16:54:23 -0700 |
commit | 80ed404abb480563aaefef28accc69801a95f964 (patch) | |
tree | 3431aee8ffa726e919b85e8593f4c2c1e6d2b3f9 /drivers/zorro | |
parent | ice : Ensure only valid bits are set in ice_aq_set_phy_cfg (diff) | |
download | linux-dev-80ed404abb480563aaefef28accc69801a95f964.tar.xz linux-dev-80ed404abb480563aaefef28accc69801a95f964.zip |
ice: use ice_for_each_vsi macro when possible
Replace all instances of:
for (i = 0; i < pf->num_alloc_vsi; i++)
with the following macro:
ice_for_each_vsi(pf, i)
This will allow the code to be consistent since there are currently
cases of using both.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions