diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-01-20 21:13:13 -0500 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2011-03-08 20:04:07 -0500 |
commit | 1936113c820bc3bfac49c266ccf972f7f8552aae (patch) | |
tree | 6adabc28f9cb3c21160c9e7f227cff3c50a24e89 /security | |
parent | 0f8250265623e57971cbb57fc8d92e58dd883a19 (diff) |
AppArmor: kill unused macros in lsm.c
Remove unused macros.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/lsm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index b7106f192b75..d21a427a35ae 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c | |||
@@ -693,11 +693,9 @@ static struct kernel_param_ops param_ops_aalockpolicy = { | |||
693 | 693 | ||
694 | static int param_set_audit(const char *val, struct kernel_param *kp); | 694 | static int param_set_audit(const char *val, struct kernel_param *kp); |
695 | static int param_get_audit(char *buffer, struct kernel_param *kp); | 695 | static int param_get_audit(char *buffer, struct kernel_param *kp); |
696 | #define param_check_audit(name, p) __param_check(name, p, int) | ||
697 | 696 | ||
698 | static int param_set_mode(const char *val, struct kernel_param *kp); | 697 | static int param_set_mode(const char *val, struct kernel_param *kp); |
699 | static int param_get_mode(char *buffer, struct kernel_param *kp); | 698 | static int param_get_mode(char *buffer, struct kernel_param *kp); |
700 | #define param_check_mode(name, p) __param_check(name, p, int) | ||
701 | 699 | ||
702 | /* Flag values, also controllable via /sys/module/apparmor/parameters | 700 | /* Flag values, also controllable via /sys/module/apparmor/parameters |
703 | * We define special types as we want to do additional mediation. | 701 | * We define special types as we want to do additional mediation. |