diff options
author | Alexandru Gheorghiu <gheorghiuandru@gmail.com> | 2013-03-25 15:50:34 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-04-02 11:23:00 +0200 |
commit | b8e63df919d75ef4ecafd66b5123a798b18cc0e7 (patch) | |
tree | d24a0f34045d1dec15a2f6bc4f43408b6587c38a /sound/oss/bin2hex.c | |
parent | 0d9ffc979f761c091a23020692b3502fa776eac0 (diff) | |
download | lwn-b8e63df919d75ef4ecafd66b5123a798b18cc0e7.tar.gz lwn-b8e63df919d75ef4ecafd66b5123a798b18cc0e7.zip |
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: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/bin2hex.c')
0 files changed, 0 insertions, 0 deletions