Remove unneeded pass statements