Remove unused code block for checking open-relay