staging: rtl8188eu: ARRAY_SIZE instead of sizeof/sizeof used
authorIvan Safonov <insafonov@gmail.com>
Sat, 10 Oct 2015 12:21:54 +0000 (19:21 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:48:09 +0000 (20:48 -0700)
commit59056281af5d4b011380bfbb59436a392c452bde
treeae15942e3b08da0018186a40b6d2eb77b655cf82
parente525e7a63ba4b544f47fe57a3ed3480af288f8eb
staging: rtl8188eu: ARRAY_SIZE instead of sizeof/sizeof used

This patch inserts ARRAY_SIZE instead of sizeof(type array[])/sizeof(type),
made arraylen variable constant
and removes unnecessary default value in variable definition.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/bb_cfg.c