svn commit: r234245 - head/usr.bin/netstat
Xin LI
delphij at FreeBSD.org
Fri Apr 13 22:35:53 UTC 2012
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;
}
}
More information about the svn-src-head
mailing list