]> 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)
commit0600a4998aab8d032a8756c4d975ba14c9b6e246
tree8c328c325df22b858281dd0259fd3d17624039ab
parent61b990791af0f78ac27a13f41480dc0f212d7ac3
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