apparmor: test: Remove some casts which are no-longer required
authorDavid Gow <davidgow@google.com>
Wed, 6 Jul 2022 10:06:07 +0000 (18:06 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 9 Jul 2022 22:14:14 +0000 (15:14 -0700)
commite2f76ad7d2859e333609c775fda707f205d93fd8
treeab072ed9540b30e518e6ba546b33086828171b95
parent417ea9fe972d2654a268ad66e89c8fcae67017c3
apparmor: 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 policy_unpack_test are no longer required.

Remove the unnecessary casts, making the conditions clearer.

Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/policy_unpack_test.c