Skip to content
Commit 5ad629a8 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Dmitry Torokhov
Browse files

Input: byd - don't wipe dynamically allocated memory twice



Since memory for a private data is allocated by kzalloc() there is no
need to fill it with zeroes immediately after the allocation.

Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 82ba0d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment