diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-03-08 00:08:24 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-09 09:40:21 -0800 |
commit | 01812ba34a9a7756a46a54f25ba0f02e727ff35c (patch) | |
tree | 3fa4f80c0078d0eac963bfb1ca41d552fc2be68c /arch/arm/common/vlock.h | |
parent | 161c3bc30f3a07458f91f15e35d5b2e91fa617cc (diff) | |
download | talos-op-linux-01812ba34a9a7756a46a54f25ba0f02e727ff35c.tar.gz talos-op-linux-01812ba34a9a7756a46a54f25ba0f02e727ff35c.zip |
usb: isp1760: Use kasprintf
Use kasprintf instead of combination of kmalloc and sprintf and
therefore avoid unnecessary computation of string length.
Also, remove the useless local variable.
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/common/vlock.h')
0 files changed, 0 insertions, 0 deletions