Re: [PATCH ghak112 V1] audit: purge unnecessary list_empty calls

2019-04-08 Thread Paul Moore
On Mon, Apr 8, 2019 at 12:51 PM Richard Guy Briggs wrote: > > The original conditions that led to the use of list_empty() to optimize > list_for_each_entry_rcu() in auditfilter.c and auditsc.c code have been > removed without removing the list_empty() call, but this code example > has been copied

[PATCH ghak112 V1] audit: purge unnecessary list_empty calls

2019-04-08 Thread Richard Guy Briggs
The original conditions that led to the use of list_empty() to optimize list_for_each_entry_rcu() in auditfilter.c and auditsc.c code have been removed without removing the list_empty() call, but this code example has been copied several times. Remove the unnecessary list_empty() calls. Please se