]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove pointless parameter check in hci_uart_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:01:03 +0000 (07:01 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:00:24 +0000 (17:00 +0200)
commit52bc423a7e74f5d1dac3ab61e742831e004b8e39
tree992faca9da3bbf0ec43b499208b0f3c9ea5bc9e0
parent03b31868a463c48d6ebd8825326ee8310fce62c3
Bluetooth: Remove pointless parameter check in hci_uart_send_frame()

The hdev parameter of hci_uart_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/hci_ldisc.c