]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes.
authorQuytelda Kahja <quytelda@tamalin.org>
Sat, 31 Mar 2018 06:07:41 +0000 (23:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:15:15 +0000 (14:15 +0200)
commit5312af9ecad609dd283974620e34445a085df227
treeab8367a40f2b52d2e69a0c171e41b2cbd2980339
parentb1e04ba095a9761b786d745cf716c3354cf2aa4b
staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes.

This macro, provided in 'linux/kernel.h', will calculate the size
more succinctly than a division operation.

Signed-off-by: Quytelda Kahja <quytelda@tamalin.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c