[PATCH openEuler-5.10-LTS 040/162] random: remove incomplete last_data logic