Systems and methods for determining which of an intake valve and an exhaust valve is to be deactivated first when an engine is operated in a variable displacement mode. In one example, an exhaust valve of the cylinder is deactivated before an intake valve of the cylinder when the engine is operated in a static variable displacement operating mode.