remove obsolete code

@DeepDiver1975 @icewind1991 @VicDeo @schiesbn remove obsolete code