apparmor: test: Remove some casts which are no-longer required
authorDavid Gow <davidgow@google.com>
Thu, 13 May 2021 19:32:03 +0000 (12:32 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 15 Dec 2021 19:50:19 +0000 (11:50 -0800)
commitd86d1652ab13cf1f70a33d71a64dcf6a19cae9f3
tree6f7581523b1fb2439f514d336efbaea8322c7f14
parent9b7f83e0c25b1eb618f7680724d0f566dd419104
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.

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