remove useless code and imports
Merge branch '2.4.x' of dev.sourcefabric.org:airtime into 2.4.x