s390: qeth_core_mpc: Use ARRAY_SIZE instead of reimplementing its function
commit065a2cdcbdf8eb9aefb66e1a24b2d684b8b8852b
authorzhong jiang <zhongjiang@huawei.com>
Wed, 26 Sep 2018 16:07:09 +0000 (26 18:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:27:26 +0000 (28 10:27 -0700)
treedbc27d0c3ac0217d3afff0f2a49af2db5aeefa4c
parentd4ce58082f206bf6e7d697380c7bc5480a8b0264
s390: qeth_core_mpc: Use ARRAY_SIZE instead of reimplementing its function

Use the common code ARRAY_SIZE macro instead of a private implementation.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_mpc.c