Skip to content
Commit b8e63df9 authored by Alexandru Gheorghiu's avatar Alexandru Gheorghiu Committed by Takashi Iwai
Browse files

sound: oss: sb_common: Used kmemdup instead of kmalloc and memcpy



Used kmemdup instead of replicating it's behaviour with kmalloc followed
by memcpy.
Patch found using coccinelle.

Signed-off-by: default avatarAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0d9ffc97
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