audit: purge unnecessary list_empty calls