Inspection suggested to replace vents between laundry and garage
The inspector is likely correct, depending on what codes you follow.  

If make up air is required for the water heater, it should come from outside, not a habitable space. If make up air is required for the dryer, that too should come from outside.

If the vents compromise the firewall between the garage and habitable space, they must be sealed in an approved manner.  It's also not a good idea (and likely a code violation), to have open airflow between the garage and habitable space.