summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-04-13 22:35:53 +0000
committerdelphij <delphij@FreeBSD.org>2012-04-13 22:35:53 +0000
commit7e5a8c601f7c328808a7bd25d555a95c795edf62 (patch)
treeecb1e6080bb0707a7706b5e43758b89f6acece39 /usr.bin/netstat
parent716dc0a601e63e27f4d5fa9699d4a218d60e2557 (diff)
downloadFreeBSD-src-7e5a8c601f7c328808a7bd25d555a95c795edf62.zip
FreeBSD-src-7e5a8c601f7c328808a7bd25d555a95c795edf62.tar.gz
Eliminate an unused parameter of static method igmp_stats_live_old().
MFC after: 1 month
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/inet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 7309951..50d2bdd 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;
}
}
OpenPOWER on IntegriCloud