diff options
author | Daniel Latypov <dlatypov@google.com> | 2022-01-13 08:59:28 -0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-01-25 12:49:46 -0700 |
commit | a91e9ade402c48ee35cd1e4b671e3938db798d17 (patch) | |
tree | 21a42096c0bb8c620fb9cef2215e3cf8db012c45 /lib/list_debug.c | |
parent | 4fdacef8ac5a5382eeb1bc6fc2632d71a09d52cd (diff) | |
download | linux-rpi-a91e9ade402c48ee35cd1e4b671e3938db798d17.tar.gz linux-rpi-a91e9ade402c48ee35cd1e4b671e3938db798d17.tar.bz2 linux-rpi-a91e9ade402c48ee35cd1e4b671e3938db798d17.zip |
kunit: drop unused kunit* field in kunit_assert
The `struct kunit* test` field in kunit_assert is unused.
Note: string_stream needs it, but it has its own `test` field. 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>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/list_debug.c')
0 files changed, 0 insertions, 0 deletions