src: unnecessary code removing