audit: remove needless switch in AUDIT_SET
authorEric Paris <eparis@redhat.com>
Mon, 13 Jan 2014 21:49:28 +0000 (16:49 -0500)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:33:39 +0000 (22:33 -0500)
commit3f0c5fad89c2c287baee0f314177b82aeafa7363
treef8aa71217198b39a0abd553e91c889acc6e6b0bb
parent70249a9cfdb405f654708699c679c6774efb31d8
audit: remove needless switch in AUDIT_SET

If userspace specified that it was setting values via the mask we do not
need a second check to see if they also set the version field high
enough to understand those values.  (clearly if they set the mask they
knew those values).

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