Commit c0309373 authored by Hongbo Li's avatar Hongbo Li Committed by John Johansen
Browse files

apparmor: Use IS_ERR_OR_NULL() helper function



Use the IS_ERR_OR_NULL() helper instead of open-coding a
NULL and an error pointer checks to simplify the code and
improve readability.

Signed-off-by: default avatarHongbo Li <lihongbo22@huawei.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 9208c05f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment