]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Remove pointless parameter check in bluecard_hci_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:00:58 +0000 (07:00 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 14:57:15 +0000 (16:57 +0200)
commit3c69454afa29c8214f86534ac95565b902a0888c
treee1b564417feef04514e2198e8f54d5c58134c11c
parentaae26277121a99509300c8024cf88d313f18f367
Bluetooth: Remove pointless parameter check in bluecard_hci_send_frame()

The hdev parameter of bluecard_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/bluecard_cs.c