dryer receptacle

I have 10/3 wire going to a four plug receptacle but the dryer we have is a 3 prong (2 slants and an L). Can I change the receptacle using the 2 hots and ground and capping the other ground? Change the wire on the dryer? Any suggestions?