Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 1/2] Bluetooth: remove unused variable from cmtp
@ 2010-09-03 21:43 Gustavo F. Padovan
  2010-09-03 21:43 ` [PATCH 2/2] Bluetooth: make batostr() print the in the right order Gustavo F. Padovan
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo F. Padovan @ 2010-09-03 21:43 UTC (permalink / raw)
  To: linux-bluetooth

A value was attributed 'src', but no one was using

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
---
 net/bluetooth/cmtp/core.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/bluetooth/cmtp/core.c b/net/bluetooth/cmtp/core.c
index d4c6af0..d461606 100644
--- a/net/bluetooth/cmtp/core.c
+++ b/net/bluetooth/cmtp/core.c
@@ -321,12 +321,11 @@ static int cmtp_session(void *arg)
 int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock)
 {
 	struct cmtp_session *session, *s;
-	bdaddr_t src, dst;
+	bdaddr_t dst;
 	int i, err;
 
 	BT_DBG("");
 
-	baswap(&src, &bt_sk(sock->sk)->src);
 	baswap(&dst, &bt_sk(sock->sk)->dst);
 
 	session = kzalloc(sizeof(struct cmtp_session), GFP_KERNEL);
-- 
1.7.2.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-03 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03 21:43 [PATCH 1/2] Bluetooth: remove unused variable from cmtp Gustavo F. Padovan
2010-09-03 21:43 ` [PATCH 2/2] Bluetooth: make batostr() print the in the right order Gustavo F. Padovan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox