Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255690
b: refs/heads/master
c: 75fde9e
h: refs/heads/master
v: v3
  • Loading branch information
David Miller authored and Gustavo F. Padovan committed Jun 8, 2011
1 parent 9398cb9 commit 18a489a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78676a06260a4162b6837a8a2fb954445004ebc2
refs/heads/master: 75fde9ee1bca0c0c004aadaebdedf17370f93f18
3 changes: 0 additions & 3 deletions trunk/net/bluetooth/rfcomm/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,6 @@ static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, c
static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen)
{
struct sock *sk = sock->sk;
struct sock *l2cap_sk;
struct rfcomm_conninfo cinfo;
struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn;
int len, err = 0;
Expand Down Expand Up @@ -786,8 +785,6 @@ static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __u
break;
}

l2cap_sk = rfcomm_pi(sk)->dlc->session->sock->sk;

cinfo.hci_handle = conn->hcon->handle;
memcpy(cinfo.dev_class, conn->hcon->dev_class, 3);

Expand Down

0 comments on commit 18a489a

Please sign in to comment.