Skip to contentSkip to conversation

drivers/net/irda/irport.c: cleanups

PATCH New Adrian Bunk 1 participant 1 message May 2, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/irda/irport.c: cleanups

This patch contains the following cleanups:
- make a needlessly global function static
- remove the unneeded global function irport_probe

---

This patch was already sent on:
- 19 Apr 2005

 drivers/net/irda/irport.c |   15 +--------------
 1 files changed, 1 insertion(+), 14 deletions(-)
drivers/net/irda/irport.c renamed from drivers/net/irda/irport.c.old +1 -14
@@ -286,19 +286,6 @@
 }
 
 /*
- * Function irport_probe (void)
- *
- *    Start IO port 
- *
- */
-int irport_probe(int iobase)
-{
-	IRDA_DEBUG(4, "%s(), iobase=%#x\n", __FUNCTION__, iobase);
-
-	return 0;
-}
-
-/*
  * Function irport_get_fcr (speed)
  *
  *    Compute value of fcr
@@ -383,7 +370,7 @@
  *    we cannot use schedule_timeout() when we are in interrupt context
  *
  */
-int __irport_change_speed(struct irda_task *task)
+static int __irport_change_speed(struct irda_task *task)
 {
 	struct irport_cb *self;
 	__u32 speed = (__u32) task->param;