On Fri, Jan 7, 2022 at 8:23 PM Daniel Latypov <dlatypov@xxxxxxxxxx> wrote: > > The `struct kunit* test` field in kunit_assert is unused. > Note: we have access to `test` where we need it via the string_stream > object. I assume `test` in `kunit_assert` predates this and was leftover > after some refactoring. > > This patch removes the field and cleans up the macros to avoid > needlessly passing around `test`. > > Signed-off-by: Daniel Latypov <dlatypov@xxxxxxxxxx> Looks good. Thanks! Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>