Investors & landlords

No.  If the loan was used to purchase your personal residence, the loan does not affect any rental deductions or rental capital gain.