to get rid of something or stop using it, especially something that is no longer needed or wanted.
Example
A: Did you hear they're going to do away with the old uniforms at work?
B: Yeah, finally! Those things were so uncomfortable.
Tell it apart
They did away with the entry fee.
They gave away free samples.
