include/net/bond_3ad: Simplify the code by using the ARRAY_SIZE
authorzhong jiang <zhongjiang@huawei.com>
Fri, 3 Aug 2018 06:53:15 +0000 (14:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2018 20:23:15 +0000 (13:23 -0700)
commit31ba191bf5ab2975c1955f1adf771a5a0b57afaa
tree1d5dc4ec0499658034e155b0e1d6b1b8d07ff6e9
parentbf37afceaf549ce9ef50e3042f64d257a3d4be80
include/net/bond_3ad: Simplify the code by using the ARRAY_SIZE

We prefer to ARRAY_SIZE rather than the open code to calculate size.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/bond_3ad.h