--- zzzz-none-000/linux-2.6.39.4/security/apparmor/domain.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/security/apparmor/domain.c 2021-11-10 13:38:18.000000000 +0000 @@ -727,7 +727,6 @@ bool permtest) { const struct cred *cred; - struct aa_task_cxt *cxt; struct aa_profile *profile, *target = NULL; struct aa_namespace *ns = NULL; struct file_perms perms = {}; @@ -747,7 +746,6 @@ } cred = get_current_cred(); - cxt = cred->security; profile = aa_cred_profile(cred); if (ns_name) {