]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192u: Use memset to initialize memory, instead of loop.
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 4 Jul 2018 14:20:49 +0000 (15:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 15:40:54 +0000 (17:40 +0200)
commitd3126a4b787a3aa60fe55ec3c5167b7db008d130
tree2e0120b0edf547f6a08013d3e700b036905c789d
parentbd959ab0a56c8bd94f5f5061fb0a476ac5294db9
staging: rtl8192u: Use memset to initialize memory, instead of loop.

Replaced memory initialising loop with memset instead.

Suggested-by: Andy Shevchenko
Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c