]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove pointless check of hci_send_frame parameter
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Oct 2013 21:54:18 +0000 (14:54 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Oct 2013 22:10:11 +0000 (00:10 +0200)
commit3d386acea090e7af3346de59d9e322f92128a4b1
tree94c9131baab089e14ba9d8574f67be404ffb1a46
parent57d17d70dfa4345fbe3e0d049504aa20626ed0e1
Bluetooth: Remove pointless check of hci_send_frame parameter

The hdev parameter of hci_send_frame must be always valid. If the hdev
is not valid, it would not even make it to this stage. The callers
will have already accessed hdev at that point many times.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c