Deductions & credits

This is correct. Deduction was given to you by reducing your taxable income on your W2. Line 2 does not apply unless you contribute using money that was or will be taxed.