gh-106360: remove redundant #ifdef (#106622)

2 files changed