diff options
author | Christos Gkekas <chris.gekas@gmail.com> | 2017-06-18 16:41:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-18 23:53:56 -0400 |
commit | 47b3e2f701b93c57abcb3ba1f9f2041abd6b9147 (patch) | |
tree | b313e9f450707d4f4e798ac910b98d34db9a826f /drivers | |
parent | 836d57e5c08e13bb206dcd559d96ee9355e8316e (diff) |
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: Christos Gkekas <chris.gekas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ppp/pptp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index 2f22e318a67f..eac499c58aa7 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -506,7 +506,6 @@ static int pptp_release(struct socket *sock) { struct sock *sk = sock->sk; struct pppox_sock *po; - struct pptp_opt *opt; int error = 0; if (!sk) @@ -520,7 +519,6 @@ static int pptp_release(struct socket *sock) } po = pppox_sk(sk); - opt = &po->proto.pptp; del_chan(po); pppox_unbind_sock(sk); |