]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove pointless parameter check in bfusb_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:00:57 +0000 (07:00 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 14:52:37 +0000 (16:52 +0200)
commitaae26277121a99509300c8024cf88d313f18f367
treef5da7a2afaeefb227816501fb97716494f4b0f2a
parent7bd8f09f69f8a190f9b8334a07bb0a9237612314
Bluetooth: Remove pointless parameter check in bfusb_send_frame()

The hdev parameter of bfusb_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/bfusb.c