diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-04 22:27:35 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 18:47:10 +0200 |
commit | 01009eec70a7d80773267b34522b0bb1208a73e9 (patch) | |
tree | 0a367519f7aa019036fa3dfe2a6a2ff94ae2daaa /drivers/bluetooth/hci_h4.c | |
parent | 7c40fb8db135288485f4f6226ceb69d64610a84e (diff) |
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>
Diffstat (limited to 'drivers/bluetooth/hci_h4.c')
-rw-r--r-- | drivers/bluetooth/hci_h4.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c index 7c5e68cb9959..81ad249fc44f 100644 --- a/drivers/bluetooth/hci_h4.c +++ b/drivers/bluetooth/hci_h4.c @@ -152,14 +152,7 @@ static const struct hci_uart_proto h4p = { int __init h4_init(void) { - int err = hci_uart_register_proto(&h4p); - - if (!err) - BT_INFO("HCI H4 protocol initialized"); - else - BT_ERR("HCI H4 protocol registration failed"); - - return err; + return hci_uart_register_proto(&h4p); } int __exit h4_deinit(void) |