aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-09-03 16:51:57 -0400
committerGustavo F. Padovan <padovan@profusion.mobi>2010-10-12 11:44:52 -0400
commitcb810a189da312d4074cb3fc8b0267b7115e7be1 (patch)
tree7b1a8049f1138d9f76b2f8d59c1db438c1afa8af /net/bluetooth
parentaae7fe22a875a84e328469e228cba033ebbf20cb (diff)
Bluetooth: remove unused variable from cmtp
A value was attributed to 'src', but no one was using. Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/cmtp/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/cmtp/core.c b/net/bluetooth/cmtp/core.c
index d4c6af082d48..d4616060a196 100644
--- a/net/bluetooth/cmtp/core.c
+++ b/net/bluetooth/cmtp/core.c
@@ -321,12 +321,11 @@ static int cmtp_session(void *arg)
321int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock) 321int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock)
322{ 322{
323 struct cmtp_session *session, *s; 323 struct cmtp_session *session, *s;
324 bdaddr_t src, dst; 324 bdaddr_t dst;
325 int i, err; 325 int i, err;
326 326
327 BT_DBG(""); 327 BT_DBG("");
328 328
329 baswap(&src, &bt_sk(sock->sk)->src);
330 baswap(&dst, &bt_sk(sock->sk)->dst); 329 baswap(&dst, &bt_sk(sock->sk)->dst);
331 330
332 session = kzalloc(sizeof(struct cmtp_session), GFP_KERNEL); 331 session = kzalloc(sizeof(struct cmtp_session), GFP_KERNEL);