Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 22:35:53 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r234245 - head/usr.bin/netstat
Message-ID:  <201204132235.q3DMZrKp000634@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Fri Apr 13 22:35:53 2012
New Revision: 234245
URL: http://svn.freebsd.org/changeset/base/234245

Log:
  Eliminate an unused parameter of static method igmp_stats_live_old().
  
  MFC after:	1 month

Modified:
  head/usr.bin/netstat/inet.c

Modified: head/usr.bin/netstat/inet.c
==============================================================================
--- head/usr.bin/netstat/inet.c	Fri Apr 13 22:34:01 2012	(r234244)
+++ head/usr.bin/netstat/inet.c	Fri Apr 13 22:35:53 2012	(r234245)
@@ -1068,7 +1068,7 @@ icmp_stats(u_long off, const char *name,
  * Dump IGMP statistics structure (pre 8.x kernel).
  */
 static void
-igmp_stats_live_old(u_long off, const char *name)
+igmp_stats_live_old(const char *name)
 {
 	struct oigmpstat oigmpstat, zerostat;
 	size_t len = sizeof(oigmpstat);
@@ -1128,7 +1128,7 @@ igmp_stats(u_long off, const char *name,
 			return;
 		}
 		if (len < sizeof(igmpstat)) {
-			igmp_stats_live_old(off, name);
+			igmp_stats_live_old(name);
 			return;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204132235.q3DMZrKp000634>