trivial: Remove a small legacy check