Commit 8de4a7de authored by GONG, Ruiqi's avatar GONG, Ruiqi Committed by John Johansen

apparmor: remove unused macro

SOCK_ctx() doesn't seem to be used anywhere in the code, so remove it.
Signed-off-by: default avatarGONG, Ruiqi <gongruiqi@huaweicloud.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 0897fcb1
......@@ -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)}; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment