]> git.karo-electronics.de Git - linux-beck.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)
commit602987758b0a3bfb0af5b0931c302b8f552c8d2e
tree0deb79e16190c671df099bd95fbbfc8ec8645841
parent52bc423a7e74f5d1dac3ab61e742831e004b8e39
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