]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3406a588cc2af925b81f996923600b1a43efd18c
tree1d5dc4ec0499658034e155b0e1d6b1b8d07ff6e9
parent643502f9c4815379a21a05fe6b7d4a3f5466fdd3
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