diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-02-28 15:25:53 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-05-02 01:09:51 -0700 |
commit | 0c2561c81f5d089781f7cb24b8ce9e52ac716f61 (patch) | |
tree | 4b236b339f1f03350862746af6f47264f4080765 /drivers/net/ethernet/intel/ice/ice_lib.h | |
parent | a92e1bb6ade7526f0c2b7b462516b1941e965504 (diff) |
ice: Use ice_for_each_q_vector macro where possible
There are many places in the code where we do the following:
for (i = 0; i < vsi->num_q_vectors; i++)
Instead use the macro mentioned in the commit title:
ice_for_each_q_vector(vsi, i)
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/net/ethernet/intel/ice/ice_lib.h')
0 files changed, 0 insertions, 0 deletions