The correct option is
C Put away
To do away with means to put an end to.
“Serve the purpose of” means something that satisfies the need to do something.
“Deprive of” means to restrict someone from something.
“Put away” means to end something.
“Make use of” means to utilise something.
“Pack up” means to close down.
Hence option C clearly has the correct meaning.