aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.h
diff options
context:
space:
mode:
authorTodd Fujinaka <todd.fujinaka@intel.com>2015-06-30 15:16:55 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-07-23 05:08:30 -0700
commit9fa0452b645efdff439948a5cf448b8e497340e9 (patch)
treede32c032e6834c07b5218f5c54202b93b1cf4e31 /net/tipc/socket.h
parentigb: report unsupported ethtool settings in set_coalesce (diff)
downloadlinux-rng-9fa0452b645efdff439948a5cf448b8e497340e9.tar.xz
linux-rng-9fa0452b645efdff439948a5cf448b8e497340e9.zip
igb: use ARRAY_SIZE to replace calculating sizeof(a)/sizeof(a[0])
Use the ARRAY_SIZE macro rather than calculating sizeof(a)/sizeof(a[0]). Also directly replace the code rather than using an unnecessary define. Reported-by: Maninder Singh <maninder1.s@samsung.com> Reported-by: Joe Perches <joe@perches.com> 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>
Diffstat (limited to 'net/tipc/socket.h')
0 files changed, 0 insertions, 0 deletions