Input: byd - don't wipe dynamically allocated memory twice
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 26 Apr 2016 16:50:31 +0000 (09:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Apr 2016 20:59:01 +0000 (13:59 -0700)
commit5ad629a82de37cbcaffc17861e07b5ec68ab75f4
tree26ff93563f3c7256cc3a0c487b41e9087ebfbbcf
parent82ba0d8ba48df5442ff31ee6f62b594f062bc162
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: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/byd.c