Commit 47b3e2f7 authored by Christos Gkekas's avatar Christos Gkekas Committed by David S. Miller

pptp: Remove unused variable in pptp_release()

Variable opt in pptp_release() is set but never used, thus needs to be
removed.
Signed-off-by: default avatarChristos Gkekas <chris.gekas@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 836d57e5
...@@ -506,7 +506,6 @@ static int pptp_release(struct socket *sock) ...@@ -506,7 +506,6 @@ static int pptp_release(struct socket *sock)
{ {
struct sock *sk = sock->sk; struct sock *sk = sock->sk;
struct pppox_sock *po; struct pppox_sock *po;
struct pptp_opt *opt;
int error = 0; int error = 0;
if (!sk) if (!sk)
...@@ -520,7 +519,6 @@ static int pptp_release(struct socket *sock) ...@@ -520,7 +519,6 @@ static int pptp_release(struct socket *sock)
} }
po = pppox_sk(sk); po = pppox_sk(sk);
opt = &po->proto.pptp;
del_chan(po); del_chan(po);
pppox_unbind_sock(sk); pppox_unbind_sock(sk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment