Skip to content
Commit 84117994 authored by Minghao Chi's avatar Minghao Chi Committed by John Johansen
Browse files

security/apparmor: remove redundant ret variable



Return value from nf_register_net_hooks() directly instead
of taking this in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: default avatarCGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 68ff8540
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment