Skip to content

Commit

Permalink
AppArmor: kill unused macros in lsm.c
Browse files Browse the repository at this point in the history
Remove unused macros.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
  • Loading branch information
Shan Wei authored and John Johansen committed Mar 9, 2011
1 parent 0f82502 commit 1936113
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions security/apparmor/lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1936113

Please sign in to comment.