Bluetooth: hidp: remove redundant error message
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 5 Apr 2013 12:57:33 +0000 (14:57 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 6 Apr 2013 02:44:07 +0000 (23:44 -0300)
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>
net/bluetooth/hidp/sock.c

index 5d0f1ca0a314660698e67d9c2d58d26dcc269ffa..e6bf36a0ba40230e4bffcb2624420b0592ba3631 100644 (file)
@@ -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;
 }
This page took 0.026884 seconds and 5 git commands to generate.