diff options
author | Eric Paris <eparis@redhat.com> | 2014-01-13 21:12:34 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-01-13 22:33:41 -0500 |
commit | 0e23baccaae4f752cfa89cca44e84a439ed8bd13 (patch) | |
tree | 82defea35efa77b91dc15bc11510f890db7db8c2 /kernel/power | |
parent | 3f0c5fad89c2c287baee0f314177b82aeafa7363 (diff) | |
download | linux-0e23baccaae4f752cfa89cca44e84a439ed8bd13.tar.gz linux-0e23baccaae4f752cfa89cca44e84a439ed8bd13.tar.bz2 linux-0e23baccaae4f752cfa89cca44e84a439ed8bd13.zip |
audit: rework AUDIT_TTY_SET to only grab spin_lock once
We can simplify the AUDIT_TTY_SET code to only grab the spin_lock one
time. We need to determine if the new values are valid and if so, set
the new values at the same time we grab the old onces. While we are
here get rid of 'res' and just use err.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions