src: remove obsolete code

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
src: more obsolete code

Acked-by: Karsten Schwank
Target: master
Require-book: no
Require-notes: no
src: kill more obsolete code

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
src: kill more of obsolete code

Acked-by: Karsten Schwank
Target: master
Require-book: no
Require-notes: no