The joke is a pun. Deadwood could mean unproductive workers. Since this is a lumber company, deadwood could also just mean dead wood from trees.
The lumber company downsized . They got rid of the deadwood .