diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-09 23:54:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:01:55 -0500 |
commit | e7c368b7676bbe6145f14fbc87913596c9b93c11 (patch) | |
tree | 581a3652c0320f2db1b9a69d92f90ee8479ab180 /drivers/net | |
parent | e48e99093c9bbb67f95e903d37aef30a969a0153 (diff) |
[PATCH] 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
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/irda/irport.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/irda/irport.c b/drivers/net/irda/irport.c index 3d016a498e1d..6070195b87bd 100644 --- a/drivers/net/irda/irport.c +++ b/drivers/net/irda/irport.c | |||
@@ -285,19 +285,6 @@ static void irport_start(struct irport_cb *self) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | /* | 287 | /* |
288 | * Function irport_probe (void) | ||
289 | * | ||
290 | * Start IO port | ||
291 | * | ||
292 | */ | ||
293 | int irport_probe(int iobase) | ||
294 | { | ||
295 | IRDA_DEBUG(4, "%s(), iobase=%#x\n", __FUNCTION__, iobase); | ||
296 | |||
297 | return 0; | ||
298 | } | ||
299 | |||
300 | /* | ||
301 | * Function irport_get_fcr (speed) | 288 | * Function irport_get_fcr (speed) |
302 | * | 289 | * |
303 | * Compute value of fcr | 290 | * Compute value of fcr |
@@ -382,7 +369,7 @@ static void irport_change_speed(void *priv, __u32 speed) | |||
382 | * we cannot use schedule_timeout() when we are in interrupt context | 369 | * we cannot use schedule_timeout() when we are in interrupt context |
383 | * | 370 | * |
384 | */ | 371 | */ |
385 | int __irport_change_speed(struct irda_task *task) | 372 | static int __irport_change_speed(struct irda_task *task) |
386 | { | 373 | { |
387 | struct irport_cb *self; | 374 | struct irport_cb *self; |
388 | __u32 speed = (__u32) task->param; | 375 | __u32 speed = (__u32) task->param; |