Remove pointless AMX name check

cd->amx_name_ can't be empty at this point.