On Tue, Oct 25, 2022 at 9:59 AM YoungJun.park <her0gyugyu@xxxxxxxxx> wrote: > > remove unused string_stream_alloc_context structure definition. > > Signed-off-by: YoungJun.park <her0gyugyu@xxxxxxxxx> > --- Thanks for catching this! It looks like we remembered to get rid of the related struct string_stream_fragment_alloc_context, but missed this one. Reviewed-by: David Gow <davidgow@xxxxxxxxxx> Fixes: 78b1c6584fce ("kunit: string-stream: Simplify resource use") Cheers, -- David > lib/kunit/string-stream.c | 5 ----- > 1 file changed, 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; > -- > 2.25.1 >