]> git.baikalelectronics.ru Git - kernel.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)
commit64dc54fc923d885881f09656b2e0bf2c875f5c00
treef5da7a2afaeefb227816501fb97716494f4b0f2a
parentc95951861da15334b798d68445a41810b506e984
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