[PATCH 3/4] lib: Drop needless ret variables