[runtime] Remove unused variables.