Remove useless log warning that's never logged.