Remove unnecessary source lines