diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-16 17:29:15 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-18 12:39:39 +0100 |
commit | c788dd2c64322f97e4fdc04ea3948c4209fbc8a7 (patch) | |
tree | 90a8094784f0fdd53cad7a093bf9296a7b34cd51 /sound | |
parent | e313ac12eb13a9738116192848695da54c38b1ae (diff) | |
download | linux-c788dd2c64322f97e4fdc04ea3948c4209fbc8a7.tar.gz linux-c788dd2c64322f97e4fdc04ea3948c4209fbc8a7.tar.bz2 linux-c788dd2c64322f97e4fdc04ea3948c4209fbc8a7.zip |
isdn/gigaset: Use kzalloc instead of open-coded field zeroing
This replaces a kmalloc followed by a bunch of per-field zeroing with a
single kzalloc call, reducing the lines of code.
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Johan Hovold <johan@kernel.org>
Cc: gigaset307x-common@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions