summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-04-05 16:57:33 +0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-06 06:44:07 +0400
commitc849edbdc2fc3a9ba37ae6810d7a1e2c92b302d7 (patch)
tree55d4a16b997e7f970f0c8a6a0fa42b3ed064dd60 /net/bluetooth
parent5afff03815e26abf34702ec10422535224cdfe38 (diff)
downloadlinux-c849edbdc2fc3a9ba37ae6810d7a1e2c92b302d7.tar.xz
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/bluetooth')
-rw-r--r--net/bluetooth/hidp/sock.c1
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)
return 0;
error:
- BT_ERR("Can't register HIDP socket");
proto_unregister(&hidp_proto);
return err;
}