Module Name: src Committed By: martin Date: Fri Sep 13 21:05:02 UTC 2013
Modified Files: src/sys/net: if_gre.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/net/if_gre.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if_gre.c diff -u src/sys/net/if_gre.c:1.151 src/sys/net/if_gre.c:1.152 --- src/sys/net/if_gre.c:1.151 Thu Aug 29 17:49:21 2013 +++ src/sys/net/if_gre.c Fri Sep 13 21:05:02 2013 @@ -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 @@ out: 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 @@ gre_sosend(struct socket *so, struct mbu snderr(EMSGSIZE); if (space < resid) snderr(EWOULDBLOCK); - mp = ⊤ /* * Data is prepackaged in "top". */ @@ -534,7 +532,6 @@ gre_sosend(struct socket *so, struct mbu snderr(EPIPE); error = (*so->so_proto->pr_usrreq)(so, PRU_SEND, top, NULL, NULL, l); top = NULL; - mp = ⊤ release: sbunlock(&so->so_snd); out: