igb: fix array size calculation
authorTodd Fujinaka <todd.fujinaka@intel.com>
Tue, 4 Mar 2014 02:25:22 +0000 (02:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Mar 2014 08:31:49 +0000 (00:31 -0800)
commit72b36727080c712859d4b8b363ae5ddadb81a0d3
treeca1a239695cdbe8eaa7bc6645a3b6b1af9f28573
parentbd9d55929df54b67708460d7eda84a7d7924009d
igb: fix array size calculation

Use ARRAY_SIZE for array size calculation.

Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.c