All you needed to do is read one more verse to see the "enmity" was abolished, not the Law:
"He might reconcile them both to God in one body through the cross, thereby putting to death theenmity. "
I want to point out that the words that are in italics are ADDED:
Ephesians 2:15-16, (NKJV), "having abolished in His flesh the enmity,that is, the law of commandments contained in ordinances, so as to create in Himself one new man from the two, thus making peace, and that He might reconcile them both to God in one body through the cross, thereby putting to death theenmity. "
Not only does the next verse tell us what was abolished, but when you remove the ADDED words the meaning changes.
Ephesians 2:15-16, "Abolishing the enmity Law, the Commandments, and the Ordinances, through His own flesh, in order to create in Himself one new man from the two; making peace, That would reconcile both in one body to YHWH through the sacrifice--having killed the enmity through Himself."
enmity is Word # G2189 echthra
Strong's Concordance, echthra: enmity, hostility, Original Word: ἔχθρα, ας, ἡ, Part of Speech: Noun, Feminine, Transliteration: echthra, Phonetic Spelling: (ekh'-thrah), Short Definition: enmity, hostility, Definition: enmity, hostility, alienation.
Thayer's (New Testament Greek-English Lexicon) Feminine of G2190; hostility; by implication a reason for opposition:—enmity, hatred.
The opposition to YHWH's Law abolished, not the Law it's self.
So if we were to remove the added words in italics , we would have;
Ephesians 2:15-16, "Abolishing the enmity Law, the Commandments, and the Ordinances, through His own flesh, in order to create in Himself one new man from the two; making peace, That would reconcile both in one body to YHWH through the sacrifice--having killed the enmity through Himself."
Also it is worth noting, how could the Messiah have abolished the Law when He Himself said;
Matt 5:18, "For truly I say to you; Unless heaven and earth passes away, one yodh--the smallest of the letters--will in no way pass from the Law, until all things are perfected."
Revelation 21:1-2, "And I saw a new heaven and a new earth, for the first heaven and the first earth had passed away, and there was no more sea. And I, Yahchanan, saw the holy city, YHWH Shammah, coming down from YHWH out of heaven, prepared as brides adorned for their husbands. And I heard a great voice out of heaven, saying: Behold, the tabernacle of YHWH is with men, and He will dwell with them, and they will be His people, and YHWH Himself will be with them, and be their Father.
Yeremyah 31:33, "After those days, says YHWH: I will put My Law in their inward parts, and write it in their hearts; minds, and I will be their Father, and they will be My people."
It is impossible to have HIS LAW written on your heart if you are in opposition (enmity) to it, so the ENMITY was abolished.
Romans 8:6-8, "For to be carnally minded is death; but to be spiritually minded is life and peace. Because the carnal mind is enmity against YHWH; for it his not subject to the Law of YHWH, nor indeed can be. So then, those who are of the flesh cannot please YHWH."