From 96c3073f766db18e618c3801418b784443814d6f Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 13 Apr 2012 22:35:53 +0000 Subject: [PATCH] Eliminate an unused parameter of static method igmp_stats_live_old(). MFC after: 1 month --- usr.bin/netstat/inet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 730995124821..50d2bdd98116 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1068,7 +1068,7 @@ icmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused) * 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, int af1 __unused, int proto __unused) return; } if (len < sizeof(igmpstat)) { - igmp_stats_live_old(off, name); + igmp_stats_live_old(name); return; } }