Home loans

But I would be paying off the 2nd mortgage on the same house. I currently have two mortgages on my only house. If I refinanced and combined both mortgages into one, the entire amount would be deductible, no?