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)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 6 Jul 2022 23:35:52 +0000 (17:35 -0600)
commit671007281de93c721c1ea2d4af603d211b0a7e1f
tree50cac157fdb89d267bf887443b7c36b39ff025d1
parentc272612cb4a2f7cde550d35f46cde159a2af0bab
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: Shuah Khan <skhan@linuxfoundation.org>
security/apparmor/policy_unpack_test.c