Remove more unused legacy code

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>