ipv6: use ARRAY_SIZE for array sizing calculation on array seg6_action_table
authorColin Ian King <colin.king@canonical.com>
Sun, 7 Jan 2018 23:50:26 +0000 (23:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 16:40:46 +0000 (11:40 -0500)
commit709af180eed51042eeae6c232d109d4c18e88c8e
tree77a6135874d44c80c9fcdf73d291d45783acb375
parent2b1eaa66352ac453b44451c230d8edd6c5a5ea80
ipv6: use ARRAY_SIZE for array sizing calculation on array seg6_action_table

Use the ARRAY_SIZE macro on array seg6_action_table to determine size of
the array. Improvement suggested by coccinelle.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_local.c