amidi-plug: Remove an unused function.