]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
list: test: remove unused struct 'klist_test_struct'
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 31 May 2024 15:18:01 +0000 (16:18 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 3 Jun 2024 17:16:03 +0000 (11:16 -0600)
'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>
lib/list-test.c

index 0cc27de9cec88899b63a246cb542187b8bbac9b9..383ee0ad582e25fd615979fb7c6513b5171cdb1f 100644 (file)
@@ -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;