diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2016-05-24 02:24:31 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 03:04:14 +0300 |
commit | de6cdcb5ce504c9d346858569e4ad2ca3ac2fe45 (patch) | |
tree | 0eb22528b8c516bd89eba2abc85320be80eba575 /arch/x86/configs/x86_64_defconfig | |
parent | a831979f855f1a19db1b3b194c5fab5e04ad26ff (diff) | |
download | linux-de6cdcb5ce504c9d346858569e4ad2ca3ac2fe45.tar.xz |
drivers/memstick/core/mspro_block: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.
[akpm@linux-foundation.org: remove unneeded cast to void*]
Link: http://lkml.kernel.org/r/1463665743-16269-1-git-send-email-falakreyaz@gmail.com
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/configs/x86_64_defconfig')
0 files changed, 0 insertions, 0 deletions