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

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). * Dump IGMP statistics structure (pre 8.x kernel).
*/ */
static void static void
igmp_stats_live_old(u_long off, const char *name) igmp_stats_live_old(const char *name)
{ {
struct oigmpstat oigmpstat, zerostat; struct oigmpstat oigmpstat, zerostat;
size_t len = sizeof(oigmpstat); size_t len = sizeof(oigmpstat);
@ -1128,7 +1128,7 @@ igmp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
return; return;
} }
if (len < sizeof(igmpstat)) { if (len < sizeof(igmpstat)) {
igmp_stats_live_old(off, name); igmp_stats_live_old(name);
return; return;
} }
} }