]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: os_dep: Replaced kzalloc and memcpy with kmemdup
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Tue, 21 Oct 2014 04:18:20 +0000 (09:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Oct 2014 04:20:44 +0000 (12:20 +0800)
commit705515cdcdf972ad9df4d1a9874d0e94a3cad517
treed3173a73dae874e10cb5ce66111946c6a7f809d1
parentb312fb06b50b2aed3e75527fa74bc475dfb57cd6
staging: rtl8188eu: os_dep: Replaced kzalloc and memcpy with kmemdup

Replaced calls to kzalloc followed by memcpy with a single call to
kmemdup.

Patch found using coccicheck.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c