From: David Herrmann Date: Fri, 5 Apr 2013 12:57:33 +0000 (+0200) Subject: Bluetooth: hidp: remove redundant error message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c849edbdc2fc3a9ba37ae6810d7a1e2c92b302d7;p=linux-beck.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- 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; }