summaryrefslogtreecommitdiff
path: root/lib/kunit
diff options
context:
space:
mode:
authorYoungJun.park <her0gyugyu@gmail.com>2022-10-24 18:59:46 -0700
committerShuah Khan <skhan@linuxfoundation.org>2022-10-27 02:46:17 -0600
commit8f8b51f7d5c8bd3a89e7ea87aed2cdaa52ca5ba4 (patch)
tree935b3e25efd880e8100efbda193d0bed58cbca60 /lib/kunit
parenta52a5451f43bb76743c51dd46788008837243f29 (diff)
kunit: remove unused structure definition
remove unused string_stream_alloc_context structure definition. Signed-off-by: YoungJun.park <her0gyugyu@gmail.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/kunit')
-rw-r--r--lib/kunit/string-stream.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/kunit/string-stream.c b/lib/kunit/string-stream.c
index f5ae79c37400..72659a9773e3 100644
--- a/lib/kunit/string-stream.c
+++ b/lib/kunit/string-stream.c
@@ -131,11 +131,6 @@ bool string_stream_is_empty(struct string_stream *stream)
return list_empty(&stream->fragments);
}
-struct string_stream_alloc_context {
- struct kunit *test;
- gfp_t gfp;
-};
-
struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp)
{
struct string_stream *stream;