Remove obsolete check

I should've removed it in d6f381dc5c0dc5e283442d05464225bb33aff293.