summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/sysfs.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-11-12 09:54:48 -0500
committerPaul Moore <paul@paul-moore.com>2018-11-12 09:54:48 -0500
commit8cd0feb5234ccda3c15de35b40c8010a406dfc03 (patch)
tree1b0250ff689bfbdd9eb11b124ff5a06abcc46da1 /drivers/pwm/sysfs.c
parentd31b326d3ce7b1ff2ec36470dfcccb14a6c3e04e (diff)
downloadlinux-8cd0feb5234ccda3c15de35b40c8010a406dfc03.tar.bz2
audit: Remove pointless check in insert_hash()
The audit_tree_group->mark_mutex is held all the time while we create the fsnotify mark, add it to the inode, and insert chunk into the hash. Hence mark cannot get detached during this time and so the check whether the mark is attached in insert_hash() is pointless. Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/pwm/sysfs.c')
0 files changed, 0 insertions, 0 deletions