From c55a92872bdd264adbca1fbaa5f31b03a068011e Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Thu, 23 Feb 2023 19:02:33 +0100 Subject: [PATCH] Remove unused appid cpu channel A similar channel is used in nosv model to report the appid of the running task. --- src/emu/cpu.c | 2 -- src/emu/cpu.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/emu/cpu.c b/src/emu/cpu.c index 74b8678..85d15b8 100644 --- a/src/emu/cpu.c +++ b/src/emu/cpu.c @@ -14,7 +14,6 @@ static const char *chan_name[] = { [CPU_CHAN_NRUN] = "nrunning", [CPU_CHAN_PID] = "pid_running", [CPU_CHAN_TID] = "tid_running", - [CPU_CHAN_APPID] = "appid_running", [CPU_CHAN_THRUN] = "th_running", [CPU_CHAN_THACT] = "th_active", }; @@ -23,7 +22,6 @@ static int chan_type[] = { [CPU_CHAN_PID] = 1, [CPU_CHAN_TID] = 2, [CPU_CHAN_NRUN] = 3, - [CPU_CHAN_APPID] = 5, [CPU_CHAN_THRUN] = -1, [CPU_CHAN_THACT] = -1, }; diff --git a/src/emu/cpu.h b/src/emu/cpu.h index d41df11..517c2ba 100644 --- a/src/emu/cpu.h +++ b/src/emu/cpu.h @@ -20,7 +20,6 @@ enum cpu_chan { CPU_CHAN_NRUN = 0, CPU_CHAN_PID, CPU_CHAN_TID, - CPU_CHAN_APPID, CPU_CHAN_THRUN, /* gindex */ CPU_CHAN_THACT, /* gindex */ CPU_CHAN_MAX,