remove unnecessary pass statements