Eliminate an unused parameter of static method igmp_stats_live_old().

MFC after:	1 month
This commit is contained in:
Xin LI 2012-04-13 22:35:53 +00:00
parent 2c81fb6a72
commit 96c3073f76
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234245

View File

@ -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;
}
}