To kill time
Describes doing something unimportant just to pass the time while waiting for something else. Identical to the English idiom.
She was reading to kill time while she waited.
—What are you doing? —Nothing, killing time.
We played cards to kill time at the airport.