The Andhra Pradesh High Court has quashed a case against Allu Arjun for alleged election code violations during a personal visit to YSRCP leader's home.