The phrase
"to clear the decks" means to get rid of anything unnecessary or unimportant, in order to be ready for something new or important. It is often used as a metaphorical expression to indicate that you are removing obstacles or distractions that could hinder progress.
Full definition