Layoffs are routinely used as an opportunity to flatten organizations by removing layers of management.
I don't think I've ever seen a corporate reorg where middle management wasn't amongst the hardest hit groups. They're expensive, and you can usually fire a huge swath them without thinking, tell the remaining ones to start working late and limp along until times get better.