Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/49d2115b99f5
branches: trunk
changeset: 789940:49d2115b99f5
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 13 21:05:02 2013 +0000
description:
Remove unused variable
diffstat:
sys/net/if_gre.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 3c813c7eae2f -r 49d2115b99f5 sys/net/if_gre.c
--- a/sys/net/if_gre.c Fri Sep 13 21:03:29 2013 +0000
+++ b/sys/net/if_gre.c Fri Sep 13 21:05:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gre.c,v 1.151 2013/08/29 17:49:21 rmind Exp $ */
+/* $NetBSD: if_gre.c,v 1.152 2013/09/13 21:05:02 martin Exp $ */
/*
* Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.151 2013/08/29 17:49:21 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.152 2013/09/13 21:05:02 martin Exp $");
#include "opt_atalk.h"
#include "opt_gre.h"
@@ -491,7 +491,6 @@
static int
gre_sosend(struct socket *so, struct mbuf *top)
{
- struct mbuf **mp;
struct proc *p;
long space, resid;
int error;
@@ -526,7 +525,6 @@
snderr(EMSGSIZE);
if (space < resid)
snderr(EWOULDBLOCK);
- mp = ⊤
/*
* Data is prepackaged in "top".
*/
@@ -534,7 +532,6 @@
snderr(EPIPE);
error = (*so->so_proto->pr_usrreq)(so, PRU_SEND, top, NULL, NULL, l);
top = NULL;
- mp = ⊤
release:
sbunlock(&so->so_snd);
out:
Home |
Main Index |
Thread Index |
Old Index