Deductions & credits

I'm getting the correct entry on Schedule A Line 28, but its also showing up on Schedule D Line 11c.  I'm itemizing and a US resident.