Karim Benzema has undergone surgery in France in order to drain fluid from his right knee, Real Madrid have confirmed.