]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove return values from functions that don't need them
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 15:14:32 +0000 (17:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 16:58:20 +0000 (08:58 -0800)
commit5d16c2e7674689ea9cbb2f6b73140429db1f993b
tree8c328c325df22b858281dd0259fd3d17624039ab
parentaa559e8af6cbb96d9909b8b3aaa94fa438582154
Bluetooth: Remove return values from functions that don't need them

There are many functions that never fail but still declare an integer
return value for no reason. This patch converts these functions to use a
void return value to avoid any confusion of whether they can fail or not.

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