Bluetooth: hci_uart: Remove the manual protocol init message

The init function for each HCI UART protocol prints the same on success
and failure. This information is so generic, remove it and let the main
HCI UART handling print it instead.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Marcel Holtmann
2015-04-04 22:27:35 -07:00
parent 7c40fb8db1
commit 01009eec70
6 changed files with 7 additions and 40 deletions

View File

@@ -518,14 +518,7 @@ static const struct hci_uart_proto llp = {
int __init ll_init(void)
{
int err = hci_uart_register_proto(&llp);
if (!err)
BT_INFO("HCILL protocol initialized");
else
BT_ERR("HCILL protocol registration failed");
return err;
return hci_uart_register_proto(&llp);
}
int __exit ll_deinit(void)