From: Gustavo F. Padovan Date: Fri, 3 Sep 2010 20:51:57 +0000 (-0300) Subject: Bluetooth: remove unused variable from cmtp X-Git-Tag: MMI-PSA29.97-13-9~21994^2~78^2~1^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb810a189da312d4074cb3fc8b0267b7115e7be1;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Bluetooth: remove unused variable from cmtp A value was attributed to 'src', but no one was using. Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- 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) 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);