diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2012-02-02 21:07:59 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 17:01:32 +0200 |
commit | 650f726d16a3f25153d785b531516f6e90d2014f (patch) | |
tree | 606cc339e2b3f8f2633ed1503b73dc53212f780c /net/bluetooth/hci_core.c | |
parent | 37305cf649689a4d2341dd6fd89b091c6007f9ba (diff) | |
download | linux-stable-650f726d16a3f25153d785b531516f6e90d2014f.tar.gz linux-stable-650f726d16a3f25153d785b531516f6e90d2014f.tar.bz2 linux-stable-650f726d16a3f25153d785b531516f6e90d2014f.zip |
Bluetooth: Fix doing some useless casts when receiving MGMT commands
Every command handler of mgmt does a cast to the command structure
so it can properly interpreted. So we can avoid that cast if we
make those functions receive a void * directly.
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions