Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 20:05:21 +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-9@freebsd.org
Subject:   svn commit: r235516 - stable/9/usr.bin/netstat
Message-ID:  <201205162005.q4GK5LZg059594@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}
 	}



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