diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-04-05 08:57:33 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-05 22:44:07 -0400 |
commit | c849edbdc2fc3a9ba37ae6810d7a1e2c92b302d7 (patch) | |
tree | 55d4a16b997e7f970f0c8a6a0fa42b3ed064dd60 /net | |
parent | 5afff03815e26abf34702ec10422535224cdfe38 (diff) |
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: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hidp/sock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 5d0f1ca0a314..e6bf36a0ba40 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp/sock.c | |||
@@ -296,7 +296,6 @@ int __init hidp_init_sockets(void) | |||
296 | return 0; | 296 | return 0; |
297 | 297 | ||
298 | error: | 298 | error: |
299 | BT_ERR("Can't register HIDP socket"); | ||
300 | proto_unregister(&hidp_proto); | 299 | proto_unregister(&hidp_proto); |
301 | return err; | 300 | return err; |
302 | } | 301 | } |