If you don’t have a favicon, then it means that your blog has something majorly lacking. Besides, you’re error_log will go crazy with 404 requests. This is definitely not my preferred solution, because you should not be adding unnecessary functions to your theme to reduce loading.