diff options
author | Connor Imes <connor.k.imes@gmail.com> | 2022-02-27 10:56:30 -0500 |
---|---|---|
committer | Connor Imes <connor.k.imes@gmail.com> | 2022-02-27 10:56:30 -0500 |
commit | 042d1f522cd829b68be8215d490fdcf9dde86f70 (patch) | |
tree | 08932123b6597eb2509c97e108c979b3692cbc04 | |
parent | 656beac7f0ad410ef41b756e4767f2d05ca21a27 (diff) |
powercap-info: rm unused function parameter
-rw-r--r-- | utils/powercap-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/powercap-info.c b/utils/powercap-info.c index 40f3478..7b1ad3e 100644 --- a/utils/powercap-info.c +++ b/utils/powercap-info.c @@ -307,7 +307,7 @@ static int verify_control_type_args(const char* control_type, uint32_t depth, u3 } static int print_control_type(const char* control_type, uint32_t* zones, uint32_t depth, uint32_t max_depth, - u32_param* constraint, int recurse, int verbose, int unique_set, uint32_t indnt) { + u32_param* constraint, int recurse, int verbose, int unique_set) { uint64_t val64; uint32_t val32; char name[MAX_NAME_SIZE]; @@ -561,7 +561,7 @@ int main(int argc, char** argv) { /* Print requested info */ if (control_type) { - ret = print_control_type(control_type, zones, depth, MAX_ZONE_DEPTH, &constraint, recurse, verbose, unique_set, 0); + ret = print_control_type(control_type, zones, depth, MAX_ZONE_DEPTH, &constraint, recurse, verbose, unique_set); } else { ret = analyze_powercap(zones, MAX_ZONE_DEPTH, verbose); } |