OSDN Git Service

Bluetooth: Remove pointless parameter check in bt3c_hci_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:00:59 +0000 (07:00 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 14:57:27 +0000 (16:57 +0200)
commit2e1745583581500097a1a61dfb4e42b83f1a2c45
tree602765fb86c27630ae653d58e222ba64903c6c71
parent3c69454afa29c8214f86534ac95565b902a0888c
Bluetooth: Remove pointless parameter check in bt3c_hci_send_frame()

The hdev parameter of bt3c_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/bt3c_cs.c