Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 20:06:18 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r235518 - stable/8/usr.bin/netstat
Message-ID:  <201205162006.q4GK6ILd059718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed May 16 20:06:17 2012
New Revision: 235518
URL: http://svn.freebsd.org/changeset/base/235518

Log:
  MFC r234245:
  
  Eliminate an unused parameter of static method igmp_stats_live_old().

Modified:
  stable/8/usr.bin/netstat/inet.c   (contents, props changed)
Directory Properties:
  stable/8/usr.bin/netstat/   (props changed)

Modified: stable/8/usr.bin/netstat/inet.c
==============================================================================
--- stable/8/usr.bin/netstat/inet.c	Wed May 16 20:05:31 2012	(r235517)
+++ stable/8/usr.bin/netstat/inet.c	Wed May 16 20:06:17 2012	(r235518)
@@ -1052,7 +1052,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);
@@ -1112,7 +1112,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?201205162006.q4GK6ILd059718>