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:
@@ -218,14 +218,7 @@ static const struct hci_uart_proto athp = {
|
||||
|
||||
int __init ath_init(void)
|
||||
{
|
||||
int err = hci_uart_register_proto(&athp);
|
||||
|
||||
if (!err)
|
||||
BT_INFO("HCIATH3K protocol initialized");
|
||||
else
|
||||
BT_ERR("HCIATH3K protocol registration failed");
|
||||
|
||||
return err;
|
||||
return hci_uart_register_proto(&athp);
|
||||
}
|
||||
|
||||
int __exit ath_deinit(void)
|
||||
|
Reference in New Issue
Block a user