kunit: drop unused assert_type from kunit_assert and clean up macros
authorDaniel Latypov <dlatypov@google.com>
Thu, 13 Jan 2022 16:59:31 +0000 (08:59 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 25 Jan 2022 19:50:05 +0000 (12:50 -0700)
commit05a7da89c15ddb3fc7618a16f5941eca68fc441c
treee3bb6c0073830dfc42d2a1857acb2c12ddff41c6
parent21957f90b28f6bc118c055e3e564d45f6e4df45d
kunit: drop unused assert_type from kunit_assert and clean up macros

This field has been split out from kunit_assert to make the struct less
heavy along with the filename and line number.

This change drops the assert_type field and cleans up all the macros
that were plumbing assert_type into kunit_assert.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/assert.h
include/kunit/test.h