To completely abolish or eliminate a law, rule, practice, or institution.
"Many campaigners are calling for the government to do away with the tax on basic food items."
We did away with the old ways of doing things.
— Widely attributed paraphrase from Barack Obama's political speeches on reform, 2008