[PATCH 2/2] ALSA: virmidi: Remove duplicated code