diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-08-20 16:00:37 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-22 14:30:31 -0400 |
commit | d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5 (patch) | |
tree | 45ee19dab430cc9354ee82df621e7d9887e0cc00 /crypto/xcbc.c | |
parent | acf97e9b5a5246da1193cb564377a4e7793eb29e (diff) | |
download | linux-d6b81daaa2afaa17d39b34e36ca17bc6062b4bc5.tar.bz2 |
brcmsmac: use ARRAY_SIZE in phytbl_lcn.c
This patch converts all sizeof(x)/sizeof(x[0]) instances to
ARRAY_SIZE macro in phytbl_lcn.c. The patch was made using
spatch with ARRAY_SIZE.cocci (see [1]).
[1] https://github.com/coccinelle/coccinelle/tree/master/demos/janitorings
Cc: Jonas Gorski <jogo@openwrt.org>
Tested-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/xcbc.c')
0 files changed, 0 insertions, 0 deletions