Deductions & credits

Well to the extent the home equity line was used for remodeling it should be deductible then right?  Whether or not I roll it into a new first mortgage?