From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: David Herrmann To: linux-bluetooth@vger.kernel.org Cc: Marcel Holtmann , Gustavo Padovan , David Herrmann Subject: [PATCH v3 01/18] Bluetooth: hidp: remove redundant error message Date: Fri, 5 Apr 2013 14:57:33 +0200 Message-Id: <1365166670-3271-2-git-send-email-dh.herrmann@gmail.com> In-Reply-To: <1365166670-3271-1-git-send-email-dh.herrmann@gmail.com> References: <1365166670-3271-1-git-send-email-dh.herrmann@gmail.com> List-ID: We print this error twice in the first error-path so remove it. One error message is enough. Signed-off-by: David Herrmann --- net/bluetooth/hidp/sock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 82a829d..20ebd4f 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; } -- 1.8.2