diff options
author | John Johansen <john.johansen@canonical.com> | 2013-02-18 16:00:34 -0800 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2013-04-28 00:35:18 -0700 |
commit | 04266236b1c3030bb7f75472ac85a8b78fcfb284 (patch) | |
tree | 104b79899c3169a5767744d07eaf310a8b75044c /security/apparmor/domain.c | |
parent | 17322cc3f9ba578f20b5c09fb1630bd234040008 (diff) | |
download | blackbird-op-linux-04266236b1c3030bb7f75472ac85a8b78fcfb284.tar.gz blackbird-op-linux-04266236b1c3030bb7f75472ac85a8b78fcfb284.zip |
apparmor: Remove -W1 warnings
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-By: Steve Beattie <sbeattie@ubuntu.com>
Diffstat (limited to 'security/apparmor/domain.c')
-rw-r--r-- | security/apparmor/domain.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 7bc85c7f4573..7a78e814f0d4 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -752,7 +752,6 @@ int aa_change_profile(const char *ns_name, const char *hname, bool onexec, 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 = {}; @@ -772,7 +771,6 @@ int aa_change_profile(const char *ns_name, const char *hname, bool onexec, } cred = get_current_cred(); - cxt = cred->security; profile = aa_cred_profile(cred); /* |