]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove pointless parameter check in dtl1_hci_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:01:02 +0000 (07:01 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:00:08 +0000 (17:00 +0200)
commit8396f569ec99ff76030a06f52878bfe8287ac83d
treea2bc240dd99922bda8ae052a7c06eaf16f9492cc
parentd003ebc722448a20d264cee0a4d96e2563ef760c
Bluetooth: Remove pointless parameter check in dtl1_hci_send_frame()

The hdev parameter of dtl1_hci_send_frame() is always valid. If it
were not valid, then it would have crashed earlier in the call chain.

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