Retirement tax questions

since you had no positive earnings on your excess contribution,

there is no tax and no reason to amend your 2021 tax return.

Your 1099-R should show the Code for removal of an excess contribution.