summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-primax.c
diff options
context:
space:
mode:
authorHimanshu Jha <himanshujha199640@gmail.com>2017-12-31 17:57:29 +0530
committerDavid S. Miller <davem@davemloft.net>2018-01-02 22:01:27 -0500
commit72bca2084a21edda74b802bc076083d5951f67b4 (patch)
treea2deb7cf0ffc083566b6db6d7cef91c79198134b /drivers/hid/hid-primax.c
parentaa006d1ad0a58f5dad0065b25263a73365319996 (diff)
downloadlinux-72bca2084a21edda74b802bc076083d5951f67b4.tar.bz2
liquidio: Use zeroing memory allocator than allocator/memset
Use vzalloc for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Suggested-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-primax.c')
0 files changed, 0 insertions, 0 deletions