Commit c849edbd authored by David Herrmann's avatar David Herrmann Committed by Gustavo Padovan

Bluetooth: hidp: remove redundant error message

We print this error twice in the first error-path so remove it. One error
message is enough.
Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 5afff038
...@@ -296,7 +296,6 @@ int __init hidp_init_sockets(void) ...@@ -296,7 +296,6 @@ int __init hidp_init_sockets(void)
return 0; return 0;
error: error:
BT_ERR("Can't register HIDP socket");
proto_unregister(&hidp_proto); proto_unregister(&hidp_proto);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment