]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove pointless parameter check in vhci_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:01:04 +0000 (07:01 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:00:38 +0000 (17:00 +0200)
commit393d1730884cab02783549444a9d0c5cc2fef8b4
tree0deb79e16190c671df099bd95fbbfc8ec8645841
parent4be6a88799605e53fa23408bff7df63ed096e6af
Bluetooth: Remove pointless parameter check in vhci_send_frame()

The hdev parameter of vhci_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/hci_vhci.c