From: Stephen H. <she...@os...> - 2004-02-17 00:48:53
|
More janitor type cleanup. the function irda_task_kick is only used inside irda_device.c and can be made static. diff -Nru a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h --- a/include/net/irda/irda_device.h Mon Feb 16 10:34:17 2004 +++ b/include/net/irda/irda_device.h Mon Feb 16 10:34:17 2004 @@ -237,7 +237,6 @@ #endif void irda_task_delete(struct irda_task *task); -int irda_task_kick(struct irda_task *task); struct irda_task *irda_task_execute(void *instance, IRDA_TASK_CALLBACK function, IRDA_TASK_CALLBACK finished, diff -Nru a/net/irda/irda_device.c b/net/irda/irda_device.c --- a/net/irda/irda_device.c Mon Feb 16 10:34:17 2004 +++ b/net/irda/irda_device.c Mon Feb 16 10:34:17 2004 @@ -248,7 +248,7 @@ * processing, and notify the parent task, that is waiting for this task * to complete. */ -int irda_task_kick(struct irda_task *task) +static int irda_task_kick(struct irda_task *task) { int finished = TRUE; int count = 0; diff -Nru a/net/irda/irsyms.c b/net/irda/irsyms.c --- a/net/irda/irsyms.c Mon Feb 16 10:34:17 2004 +++ b/net/irda/irsyms.c Mon Feb 16 10:34:17 2004 @@ -159,7 +159,6 @@ EXPORT_SYMBOL(irda_device_register_dongle); EXPORT_SYMBOL(irda_device_unregister_dongle); EXPORT_SYMBOL(irda_task_execute); -EXPORT_SYMBOL(irda_task_kick); EXPORT_SYMBOL(irda_task_next_state); EXPORT_SYMBOL(irda_task_delete); |