Skip to content

Commit

Permalink
Bluetooth: remove unused variable from cmtp
Browse files Browse the repository at this point in the history
A value was attributed to 'src', but no one was using.

Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
  • Loading branch information
Gustavo F. Padovan committed Oct 12, 2010
1 parent aae7fe2 commit cb810a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/bluetooth/cmtp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cb810a1

Please sign in to comment.