diff options
author | Peng Haitao <penght@cn.fujitsu.com> | 2008-05-20 03:13:02 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-06-25 05:36:35 +0200 |
commit | d8de72473effd674a3c1fe9621821f406f5587c9 (patch) | |
tree | 4b96ac9b82cc156f9ee01da00450f1a97222353f /kernel/audit.c | |
parent | [PATCH] audit: fix kernel-doc parameter notation (diff) | |
download | linux-d8de72473effd674a3c1fe9621821f406f5587c9.tar.xz linux-d8de72473effd674a3c1fe9621821f406f5587c9.zip |
[PATCH] remove useless argument type in audit_filter_user()
The second argument "type" is not used in audit_filter_user(), so I think that type can be removed. If I'm wrong, please tell me.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 56f30287e24c..e092f1c0ce30 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -738,7 +738,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) if (!audit_enabled && msg_type != AUDIT_USER_AVC) return 0; - err = audit_filter_user(&NETLINK_CB(skb), msg_type); + err = audit_filter_user(&NETLINK_CB(skb)); if (err == 1) { err = 0; if (msg_type == AUDIT_USER_TTY) { |