commit | e2f76ad7d2859e333609c775fda707f205d93fd8 | [log] [tgz] |
---|---|---|
author | David Gow <davidgow@google.com> | Wed Jul 06 18:06:07 2022 +0800 |
committer | John Johansen <john.johansen@canonical.com> | Sat Jul 09 15:14:14 2022 -0700 |
tree | ab072ed9540b30e518e6ba546b33086828171b95 | |
parent | 417ea9fe972d2654a268ad66e89c8fcae67017c3 [diff] |
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>