That's a classic out-of-context quote, often used by creationist websites. Darwin was discussing gaps in the fossil record, and he used as an example how some varieties go extinct, leaving an inevitable "gap" in the record. He never advocated genocide -- although loads of creationist websites attempt to give that impression.
I didn't say that he advocated extermination of inferior races. However, what he viewed as its inevitability didn't seem to bother him much either.