I mistakenly made a contribution into my IRA, from a non-retirement acct. I immediately reversed the transaction the next day. How do I account for this on my return?

I'm over age 70, and taking my RMD's, the reversal triggered a taxable distribution on my 1099R. I did report the contribution($2450) as a non-deductible  on the return, which triggered a few other issues. All in all this should be an even wash, but I just to to do it properly in the return.