Mark unused params, remove unused macro and args (bug 14401)

This commit is contained in:
rim
2018-05-29 02:23:26 +03:00
committed by Landry Breuil
parent ceb5a7d347
commit 66a0d4bfc9
9 changed files with 21 additions and 18 deletions

View File

@@ -118,7 +118,7 @@ get_cpu_usage (gushort *cpu_count, gfloat *cpu_user, gfloat *cpu_system)
}
static gboolean
get_task_details (kvm_t *kd, struct kinfo_proc *kp, Task *task)
get_task_details (struct kinfo_proc *kp, Task *task)
{
struct passwd *pw;
char buf[1024], *p;
@@ -250,7 +250,7 @@ get_task_list (GArray *task_list)
for (i = 0; i < cnt; kp++, i++)
{
get_task_details (kd, kp, &task);
get_task_details (kp, &task);
g_array_append_val (task_list, task);
}