Skip to content
Commit 3ea60ab5 authored by HariPrasath Elango's avatar HariPrasath Elango Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: use kmemdup instead of kmalloc and memcpy



Kmalloc followed by memcpy can be replaced by kmemdup.

Signed-off-by: default avatarHariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 50413119
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment