remove unreferenced code
Merge pull request #419 from WalterBright/fixtrace

remove unreferenced code