Ellis has second leg surgery in three days