patch-2.1.72 linux/include/linux/sched.h

Next file: linux/include/linux/soundcard.h
Previous file: linux/include/linux/pt.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.71/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -601,22 +601,6 @@
 	write_unlock_irqrestore(&waitqueue_lock, flags); 
 }
 
-extern inline void poll_wait(struct wait_queue ** wait_address, poll_table * p)
-{
-	struct poll_table_entry * entry;
-
-	if (!p || !wait_address)
-		return;
-	if (p->nr >= __MAX_POLL_TABLE_ENTRIES)
-		return;
- 	entry = p->entry + p->nr;
-	entry->wait_address = wait_address;
-	entry->wait.task = current;
-	entry->wait.next = NULL;
-	add_wait_queue(wait_address,&entry->wait);
-	p->nr++;
-}
-
 #define REMOVE_LINKS(p) do { unsigned long flags; \
 	write_lock_irqsave(&tasklist_lock, flags); \
 	(p)->next_task->prev_task = (p)->prev_task; \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov