summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2008-05-20 05:13:02 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-06-25 07:36:35 +0400
commitd8de72473effd674a3c1fe9621821f406f5587c9 (patch)
tree4b96ac9b82cc156f9ee01da00450f1a97222353f /include
parent9f0aecdd1cd6aacee9aa8f08031f4f2e09e454dc (diff)
downloadlinux-d8de72473effd674a3c1fe9621821f406f5587c9.tar.xz
[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 'include')
-rw-r--r--include/linux/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 63c3bb98558f..8b82974bdc12 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -571,7 +571,7 @@ extern void audit_log_lost(const char *message);
extern int audit_update_lsm_rules(void);
/* Private API (for audit.c only) */
-extern int audit_filter_user(struct netlink_skb_parms *cb, int type);
+extern int audit_filter_user(struct netlink_skb_parms *cb);
extern int audit_filter_type(int type);
extern int audit_receive_filter(int type, int pid, int uid, int seq,
void *data, size_t datasz, uid_t loginuid,