]> Pileus Git - ~andy/linux/commit
Bluetooth: Remove pointless parameter check in btuart_hci_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:01:01 +0000 (07:01 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:00:02 +0000 (17:00 +0200)
commit6b5924bfeac1321118fbc54313fc3c25ba1a2cb5
tree2cd5152e9c711e7bbef71ccf62dc99b99e436208
parent7648d28f28f6a661b660948b34c6ea15e163b772
Bluetooth: Remove pointless parameter check in btuart_hci_send_frame()

The hdev parameter of btuart_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/btuart_cs.c