LSM: remove the COMMON_AUDIT_DATA_INIT type expansion
[deliverable/linux.git] / include / linux / lsm_audit.h
index fad48aab893b846c293046dfdc3991a5e2e26d10..9e1ebf5851b87020cd3cdcab7ebd13423778efcb 100644 (file)
@@ -96,7 +96,7 @@ int ipv6_skb_to_auditdata(struct sk_buff *skb,
 /* Initialize an LSM audit data structure. */
 #define COMMON_AUDIT_DATA_INIT(_d, _t) \
        { memset((_d), 0, sizeof(struct common_audit_data)); \
-        (_d)->type = LSM_AUDIT_DATA_##_t; }
+        (_d)->type = _t; }
 
 void common_lsm_audit(struct common_audit_data *a,
        void (*pre_audit)(struct audit_buffer *, void *),
This page took 0.026396 seconds and 5 git commands to generate.