cleanup: remove used variable ret