audit: do not cast audit_rule_data pointers pointlesly
authorEric Paris <eparis@redhat.com>
Wed, 2 Apr 2014 19:46:42 +0000 (15:46 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 2 Apr 2014 19:55:14 +0000 (15:55 -0400)
commit56c4911aedbecc2bdf7940073e85d52b691e2509
tree9ed0b82db582b46ef951759354f8befb9ad5dc80
parent543bc6a1a987672b79d6ebe8e2ab10471d8f1047
audit: do not cast audit_rule_data pointers pointlesly

For some sort of legacy support audit_rule is a subset of (and first
entry in) audit_rule_data.  We don't actually need or use audit_rule.
We just do a cast from one to the other for no gain what so ever.  Stop
the crazy casting.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditfilter.c