Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove set but unused variable "t" in m_aux_delete().
details: https://anonhg.NetBSD.org/src/rev/a10d48009f0e
branches: trunk
changeset: 538524:a10d48009f0e
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Oct 22 03:29:51 2002 +0000
description:
Remove set but unused variable "t" in m_aux_delete().
diffstat:
sys/kern/uipc_mbuf2.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 6f90b1810481 -r a10d48009f0e sys/kern/uipc_mbuf2.c
--- a/sys/kern/uipc_mbuf2.c Tue Oct 22 03:27:47 2002 +0000
+++ b/sys/kern/uipc_mbuf2.c Tue Oct 22 03:29:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uipc_mbuf2.c,v 1.10 2002/05/23 05:45:34 itojun Exp $ */
+/* $NetBSD: uipc_mbuf2.c,v 1.11 2002/10/22 03:29:51 simonb Exp $ */
/* $KAME: uipc_mbuf2.c,v 1.29 2001/02/14 13:42:10 itojun Exp $ */
/*
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf2.c,v 1.10 2002/05/23 05:45:34 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf2.c,v 1.11 2002/10/22 03:29:51 simonb Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -281,7 +281,6 @@
struct mbuf *victim;
{
struct mbuf *n, *prev, *next;
- struct mauxtag *t;
if ((m->m_flags & M_PKTHDR) == 0)
return;
@@ -289,7 +288,6 @@
prev = NULL;
n = m->m_pkthdr.aux;
while (n) {
- t = (struct mauxtag *)n->m_dat;
next = n->m_next;
if (n == victim) {
if (prev)
Home |
Main Index |
Thread Index |
Old Index