]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit124c36d4a54d082f75041eb2e9e4eb16abe48348
treeede621a541be0cbe9565cfd0caa97c98d180602b
parent7ba478560b7cf00efdd2a190147e5e43929a57d5
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