From: David Herrmann <dh.herrmann@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Gustavo Padovan <gustavo@padovan.org>,
Marcel Holtmann <marcel@holtmann.org>,
David Herrmann <dh.herrmann@gmail.com>
Subject: [PATCH v2 01/18] Bluetooth: hidp: remove redundant error message
Date: Tue, 2 Apr 2013 18:08:21 +0200 [thread overview]
Message-ID: <1364918918-2336-2-git-send-email-dh.herrmann@gmail.com> (raw)
In-Reply-To: <1364918918-2336-1-git-send-email-dh.herrmann@gmail.com>
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>
---
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
next prev parent reply other threads:[~2013-04-02 16:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-02 16:08 [PATCH v2 00/18] Rework HIDP Module David Herrmann
2013-04-02 16:08 ` David Herrmann [this message]
2013-04-02 16:08 ` [PATCH v2 02/18] Bluetooth: hidp: verify l2cap sockets David Herrmann
2013-04-02 16:08 ` [PATCH v2 03/18] Bluetooth: rename hci_conn_put to hci_conn_drop David Herrmann
2013-04-02 16:08 ` [PATCH v2 04/18] Bluetooth: remove unneeded hci_conn_hold/put_device() David Herrmann
2013-04-02 16:08 ` [PATCH v2 05/18] Bluetooth: introduce hci_conn ref-counting David Herrmann
2013-04-02 16:08 ` [PATCH v2 06/18] Bluetooth: hidp: remove unused session->state field David Herrmann
2013-04-02 16:08 ` [PATCH v2 07/18] Bluetooth: hidp: test "terminate" before sleeping David Herrmann
2013-04-02 16:08 ` [PATCH v2 08/18] Bluetooth: allow constant arguments for bacmp()/bacpy() David Herrmann
2013-04-02 16:08 ` [PATCH v2 09/18] Bluetooth: l2cap: add l2cap_sock_get_hci_conn() helper David Herrmann
2013-04-02 16:08 ` [PATCH v2 10/18] Bluetooth: add hci_conn_user sub-modules David Herrmann
2013-04-02 16:08 ` [PATCH v2 11/18] Bluetooth: hidp: move hidp_schedule() to core.c David Herrmann
2013-04-02 16:08 ` [PATCH v2 12/18] Bluetooth: hidp: add new session-management helpers David Herrmann
2013-04-02 16:08 ` [PATCH v2 13/18] Bluetooth: hidp: remove old session-management David Herrmann
2013-04-02 16:08 ` [PATCH v2 14/18] Bluetooth: hidp: handle kernel_sendmsg() errors correctly David Herrmann
2013-04-02 16:08 ` [PATCH v2 15/18] Bluetooth: hidp: merge hidp_process_{ctrl,intr}_transmit() David Herrmann
2013-04-02 16:08 ` [PATCH v2 16/18] Bluetooth: hidp: merge 'send' functions into hidp_send_message() David Herrmann
2013-04-02 16:08 ` [PATCH v2 17/18] Bluetooth: hidp: don't send boot-protocol messages as HID-reports David Herrmann
2013-04-02 16:08 ` [PATCH v2 18/18] Bluetooth: hidp: fix sending output reports on intr channel David Herrmann
2013-04-02 16:38 ` [PATCH v2 00/18] Rework HIDP Module Marcel Holtmann
2013-04-02 16:48 ` David Herrmann
2013-04-02 18:05 ` Marcel Holtmann
2013-04-02 18:12 ` David Herrmann
2013-04-02 18:29 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364918918-2336-2-git-send-email-dh.herrmann@gmail.com \
--to=dh.herrmann@gmail.com \
--cc=gustavo@padovan.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).