gprs/test: Remove verbose parameter of gbprox_dump_* functions
This parameter is not used (the methods are always called with an
argument of 1 in the third position). Thus the parameter is removed
completely.
Sponsored-by: On-Waves ehf
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 4799344..9de2ca9 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -806,7 +806,7 @@
return 0;
}
-int gbprox_dump_global(FILE *stream, int indent, int verbose)
+int gbprox_dump_global(FILE *stream, int indent)
{
unsigned int i;
const struct rate_ctr_group_desc *desc;
@@ -816,9 +816,6 @@
if (rc < 0)
return rc;
- if (!verbose)
- return 0;
-
desc = get_global_ctrg()->desc;
for (i = 0; i < desc->num_ctr; i++) {
@@ -837,7 +834,7 @@
return 0;
}
-int gbprox_dump_peers(FILE *stream, int indent, int verbose)
+int gbprox_dump_peers(FILE *stream, int indent)
{
struct gbprox_peer *peer;
struct gprs_ra_id raid;
@@ -862,9 +859,6 @@
if (rc < 0)
return rc;
- if (!verbose)
- continue;
-
desc = peer->ctrg->desc;
for (i = 0; i < desc->num_ctr; i++) {