On Fri, Jan 7, 2022 at 8:23 PM Daniel Latypov dlatypov@google.com 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@google.com
Looks good. Thanks!
Reviewed-by: Brendan Higgins brendanhiggins@google.com