svn commit: r235516 - stable/9/usr.bin/netstat

Xin LI delphij at FreeBSD.org
Wed May 16 20:05:22 UTC 2012


Author: delphij
Date: Wed May 16 20:05:21 2012
New Revision: 235516
URL: http://svn.freebsd.org/changeset/base/235516

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

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

Modified: stable/9/usr.bin/netstat/inet.c
==============================================================================
--- stable/9/usr.bin/netstat/inet.c	Wed May 16 20:04:45 2012	(r235515)
+++ stable/9/usr.bin/netstat/inet.c	Wed May 16 20:05:21 2012	(r235516)
@@ -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;
 		}
 	}


More information about the svn-src-stable mailing list