ixgbevf: use ARRAY_SIZE for various array sizing calculations
authorColin Ian King <colin.king@canonical.com>
Sun, 7 Jan 2018 14:51:46 +0000 (14:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 18:25:15 +0000 (10:25 -0800)
commit4078ea37563383925075d30a4be68d97b552efcb
treeee36e109ec361e7ad59db9d0a0b3667a3156714d
parent865a4d987bce71a383079c1ec8e8b9fbd5431e45
ixgbevf: use ARRAY_SIZE for various array sizing calculations

Use the ARRAY_SIZE macro on various arrays to determine
size of the arrays. Improvement suggested by coccinelle.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/vf.c