Em Wed, Nov 15, 2023 at 02:00:21PM +0000, James Clark escreveu:
On 15/11/2023 06:42, zhujun2 wrote:
These variables are never referenced in the code, just remove them.
Signed-off-by: zhujun2 zhujun2@cmss.chinamobile.com
tools/perf/tests/shell/coresight/memcpy_thread/memcpy_thread.c | 1 - tools/perf/tests/shell/coresight/thread_loop/thread_loop.c | 1 - .../shell/coresight/unroll_loop_thread/unroll_loop_thread.c | 1 - 3 files changed, 3 deletions(-)
+++ b/tools/perf/tests/shell/coresight/memcpy_thread/memcpy_thread.c @@ -42,7 +42,6 @@ static pthread_t new_thr(void *(*fn) (void *arg), void *arg) int main(int argc, char **argv) { unsigned long i, len, size, thr;
- pthread_t threads[256]; struct args args[256]; long long v;
<SNIP>
Reviewed-by: James Clark james.clark@arm.com
Thanks, applied to perf-tools-next.
- Arnaldo