modules/tmx: removed unused function