summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-31 17:18:01 +0200
committerShuah Khan <skhan@linuxfoundation.org>2024-06-03 19:16:03 +0200
commit8031042cc531cc855926f76b0ea20db2da48f804 (patch)
tree527fb6262eed13946f4ad0bd90c3bf88c8dee2af /lib
parentkunit: Cover 'assert.c' with tests (diff)
downloadlinux-8031042cc531cc855926f76b0ea20db2da48f804.tar.xz
linux-8031042cc531cc855926f76b0ea20db2da48f804.zip
list: test: remove unused struct 'klist_test_struct'
'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> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/list-test.c6
1 files changed, 0 insertions, 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;