issue #2905: remove redundant codes