obviate, v. to do away with; to eliminate.

The necessity for preparing sandwiches was obviated when the picnic was posponed.