diff options
author | GONG, Ruiqi <gongruiqi@huaweicloud.com> | 2023-05-31 13:18:33 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-07-10 02:31:11 +0200 |
commit | 8de4a7de1950e88c233b105faf24666db348e65a (patch) | |
tree | 81be577a9211bea8c58dd485a35a45949f70d00f /security/apparmor/include | |
parent | apparmor: make aa_set_current_onexec return void (diff) | |
download | linux-8de4a7de1950e88c233b105faf24666db348e65a.tar.xz linux-8de4a7de1950e88c233b105faf24666db348e65a.zip |
apparmor: remove unused macro
SOCK_ctx() doesn't seem to be used anywhere in the code, so remove it.
Signed-off-by: GONG, Ruiqi <gongruiqi@huaweicloud.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r-- | security/apparmor/include/net.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/security/apparmor/include/net.h b/security/apparmor/include/net.h index 6fa440b5daed..64a0112bf62d 100644 --- a/security/apparmor/include/net.h +++ b/security/apparmor/include/net.h @@ -52,7 +52,6 @@ struct aa_sk_ctx { }; #define SK_CTX(X) ((X)->sk_security) -#define SOCK_ctx(X) SOCK_INODE(X)->i_security #define DEFINE_AUDIT_NET(NAME, OP, SK, F, T, P) \ struct lsm_network_audit NAME ## _net = { .sk = (SK), \ .family = (F)}; \ |