Erase unnecessary data