/* Return 1 if two futex_keys are equal, 0 otherwise.  */
static int match_futex(union futex_key *key1, union futex_key *key2)
/* Return 1 if two futex_keys are equal, 0 otherwise.  */
static int match_futex(union futex_key *key1, union futex_key *key2)
{
	return (key1 && key2
		&& key1->both.word == key2->both.word
		&& key1->both.ptr == key2->both.ptr
		&& key1->both.offset == key2->both.offset);
}