]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Make use kmemdup
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sun, 4 Aug 2019 02:48:32 +0000 (08:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2019 15:11:33 +0000 (17:11 +0200)
commit0f138eee91c5e1295b008b76247d2fa08c6c70d8
tree43e3347b2882a0a9116944fdf04fddd42bb68a06
parent66a9174df2d4df454398f8846495a208a7a76688
staging: rtl8192e: Make use kmemdup

As kmemdup API does kmalloc + memcpy . We can make use of it instead of
calling kmalloc and memcpy independetly.

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Link: https://lore.kernel.org/r/20190804024832.GA14352@hari-Inspiron-1545
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c