Squats hit a ton more and are a fully body exercise. However, assuming they both only worked the quads, you are right. Why do both? Considering the squat is 100x more effective and if done properly doesn't place as much sheer on the knee, dropping the leg extension is an excellent idea unless there is a compelling reason (imbalance/rehab) to keep it..