kunit: drop unused intermediate macros for ptr inequality checks
authorDaniel Latypov <dlatypov@google.com>
Tue, 18 Jan 2022 22:35:03 +0000 (14:35 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 25 Jan 2022 20:04:31 +0000 (13:04 -0700)
commitc5855907d388321c1089023489e49ba9a5e9afc7
tree8684d5a9b561bc1fc98b0b63f9ae24376f700edc
parent6709d0fe55933d3ac944f3cdd5b66d9786092f90
kunit: drop unused intermediate macros for ptr inequality checks

We have the intermediate macros for KUNIT_EXPECT_PTR_GT() and friends,
but these macros don't exist.

I can see niche usecases for these macros existing, but since we've been
fine without them for so long, let's drop this dead code.

Users can instead cast the pointers and use the other GT/LT macros.

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/test.h