Drupal deletes unused temporary managed files automatically in file_cron. However if the file has already been deleted from disk, then Drupal generates an error message:
Could not delete temporary file “public://XXXXX” during garbage collection
The error message repeats every cron cycle and there is no obvious way to recover from the UI.
It seems that this error message is unnecessary and unhelpful. This module will help to skip this warning.