]> git.baikalelectronics.ru Git - 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)
commit79cb6cf3ec8863b5cf3c28e7ba2fb48152f93503
tree8bcf99169d1db646d0a0485237b9cf6ef0f77e15
parent8cb2656f6b66628ce93c6d296c2b3be3d13251bb
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