]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Bluetooth: Remove unneeded initialization in hci_alloc_dev()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 22 Apr 2012 12:39:59 +0000 (14:39 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:40 +0000 (01:40 -0300)
commitd8ce9395252fa9a264c04e7ab9949f4f7ec96f5b
tree8bcf99169d1db646d0a0485237b9cf6ef0f77e15
parentb1b813d4777f4843af2acce9a1b62d486e1d3ffc
Bluetooth: Remove unneeded initialization in hci_alloc_dev()

We allocate memory with kzalloc() so there is no need to call
memset(..., 0, ...) or similar.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c