]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove redundant check for req.cmd_q
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 27 Nov 2015 09:11:52 +0000 (11:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 9 Dec 2015 23:51:49 +0000 (00:51 +0100)
commit550a8ca765a154ca38dcd888b4f12a173e761bdc
tree21abbea28865bf6aa8922bcd0bfdbf11030b5cae
parentd6dac32e84e407ba15f257b5df2f4cb263005ab4
Bluetooth: Remove redundant check for req.cmd_q

The hci_req_run() function already checks for empty cmd_q and bails
out if necessary. Also, req.cmd_q should really be treated as private
data of the request and not accessed directly.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c