]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Remove pointless parameter check in btmrvl_send_frame()
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:01:00 +0000 (07:01 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 14:59:51 +0000 (16:59 +0200)
commit7648d28f28f6a661b660948b34c6ea15e163b772
treee49147a5e6ddb8243c71ca2f52dbb430d201e05c
parent2e1745583581500097a1a61dfb4e42b83f1a2c45
Bluetooth: Remove pointless parameter check in btmrvl_send_frame()

The hdev parameter of btmrvl_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/btmrvl_main.c