1. NAME

finish_wait - clean up after waiting in a queue

2. SYNOPSIS

void finish_wait(wait_queue_head_t *  q , wait_queue_t *  wait );

3. ARGUMENTS

q
    waitqueue waited on

wait
    wait descriptor

4. DESCRIPTION

Sets current thread back to running state and removes the wait descriptor from the given waitqueue if still queued.

5. COPYRIGHT