]> git.karo-electronics.de Git - karo-tx-linux.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)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 22 Apr 2012 13:47:09 +0000 (15:47 +0200)
commit3a1fc4c023222f493b650238023de01a0823d6e6
tree93191157397c939048e8403befda6bf9a56f828a
parent0351848a95c4b43e93a6b78d99da0cea38ba5414
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