Remove an unused code path

I seem to have forgotten this when doing the encoding upgrade.