]> 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)
commitb6ed05c0c2b6b3c95010852386c4d9c8b2b6e0f6
treea2bc240dd99922bda8ae052a7c06eaf16f9492cc
parent11e12b526e8d0d38b384a1247226cbd7bcf66162
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