This surgery is used to treat flexible hammertoe deformity. A hammertoe deformity is one in which the toe is bent and looks like a hammer. A flexible deformity is one in which the toe can be manipulated into a straight position. This deformity can cause shoe problems, corns, and pain with walking.