thunderbolt: test: Remove some casts which are no longer required
authorDavid Gow <davidgow@google.com>
Thu, 13 May 2021 19:32:01 +0000 (12:32 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 23 Jun 2021 22:40:18 +0000 (16:40 -0600)
commit8f0877c26e4b695f824c5dbcc4b964ce238328aa
treeede621a541be0cbe9565cfd0caa97c98d180602b
parent97847240c0d5f7d5878b1c2b9f28bbd3fcae4eee
thunderbolt: test: Remove some casts which are no longer required

With some of the stricter type checking in KUnit's EXPECT macros
removed, several casts in the thunderbolt KUnit tests are no longer
required.

Remove the unnecessary casts, making the conditions clearer.

Signed-off-by: David Gow <davidgow@google.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
drivers/thunderbolt/test.c