]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: use ARRAY_SIZE for mlme_sta_tbl
authorMartin Kaiser <martin@kaiser.cx>
Sun, 17 Apr 2022 10:22:21 +0000 (12:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:37:18 +0000 (18:37 +0200)
commitcc135796e316dd37141d25c633e92ec08095e78f
tree9f166ee86ef2547ebfe73f3bf1023b4977c9585e
parentf991495b68756c33408923a9f980d451e02bc2f7
staging: r8188eu: use ARRAY_SIZE for mlme_sta_tbl

Use ARRAY_SIZE instead of hard-coding the number of entries in the
mlme_sta_tbl array.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220417102221.466524-7-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c