mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] shared: linux: remove unused variables
@ 2024-09-03  3:29 Ba Jing
  2024-09-23 15:37 ` Sid Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Ba Jing @ 2024-09-03  3:29 UTC (permalink / raw)
  To: akpm
  Cc: Liam.Howlett, lorenzo.stoakes, zhangpeng.00, sidhartha.kumar,
	bajing, linux-kernel

These variables are never referenced in the code, just remove them.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 tools/testing/shared/linux.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/shared/linux.c b/tools/testing/shared/linux.c
index 17263696b5d8..eb1b1878cf64 100644
--- a/tools/testing/shared/linux.c
+++ b/tools/testing/shared/linux.c
@@ -13,8 +13,6 @@
 #include <urcu/uatomic.h>
 
 int nr_allocated;
-int preempt_count;
-int test_verbose;
 
 struct kmem_cache {
 	pthread_mutex_t lock;
-- 
2.33.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-23 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03  3:29 [PATCH] shared: linux: remove unused variables Ba Jing
2024-09-23 15:37 ` Sid Kumar
2024-09-23 15:48   ` Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®