diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-09-03 17:51:57 -0300 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-10-12 12:44:52 -0300 |
commit | cb810a189da312d4074cb3fc8b0267b7115e7be1 (patch) | |
tree | 7b1a8049f1138d9f76b2f8d59c1db438c1afa8af /net/bluetooth/cmtp | |
parent | aae7fe22a875a84e328469e228cba033ebbf20cb (diff) | |
download | op-kernel-dev-cb810a189da312d4074cb3fc8b0267b7115e7be1.zip op-kernel-dev-cb810a189da312d4074cb3fc8b0267b7115e7be1.tar.gz |
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/cmtp')
-rw-r--r-- | 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); |