Press up, down, up, down repeatedly.
Keep at it and everything in the equipment window falls off. It is one of those small, oddly satisfying details the Metal Gear games are full of.