AppArmor: kill unused macros in lsm.c
authorShan Wei <shanwei@cn.fujitsu.com>
Fri, 21 Jan 2011 02:13:13 +0000 (10:13 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 9 Mar 2011 01:04:07 +0000 (17:04 -0800)
Remove unused macros.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c

index b7106f1..d21a427 100644 (file)
@@ -693,11 +693,9 @@ static struct kernel_param_ops param_ops_aalockpolicy = {
 
 static int param_set_audit(const char *val, struct kernel_param *kp);
 static int param_get_audit(char *buffer, struct kernel_param *kp);
-#define param_check_audit(name, p) __param_check(name, p, int)
 
 static int param_set_mode(const char *val, struct kernel_param *kp);
 static int param_get_mode(char *buffer, struct kernel_param *kp);
-#define param_check_mode(name, p) __param_check(name, p, int)
 
 /* Flag values, also controllable via /sys/module/apparmor/parameters
  * We define special types as we want to do additional mediation.