Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH] list: test: remove unused struct 'klist_test_struct'
@ 2024-05-31 15:18 linux
  2024-05-31 18:19 ` Muhammad Usama Anjum
  2024-06-01  2:07 ` David Gow
  0 siblings, 2 replies; 5+ messages in thread
From: linux @ 2024-05-31 15:18 UTC (permalink / raw)
  To: davidgow; +Cc: linux-kselftest, kunit-dev, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'klist_test_struct' has been unused since the original
commit 57b4f760f94d ("list: test: Test the klist structure").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 lib/list-test.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/list-test.c b/lib/list-test.c
index 0cc27de9cec8..383ee0ad582e 100644
--- a/lib/list-test.c
+++ b/lib/list-test.c
@@ -1201,12 +1201,6 @@ static struct kunit_suite hlist_test_module = {
 };
 
 
-struct klist_test_struct {
-	int data;
-	struct klist klist;
-	struct klist_node klist_node;
-};
-
 static int node_count;
 static struct klist_node *last_node;
 
-- 
2.45.1


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

end of thread, other threads:[~2024-06-01  2:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 15:18 [PATCH] list: test: remove unused struct 'klist_test_struct' linux
2024-05-31 18:19 ` Muhammad Usama Anjum
2024-05-31 18:58   ` Dr. David Alan Gilbert
2024-05-31 19:13     ` Shuah Khan
2024-06-01  2:07 ` David Gow

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