Skip to content

Commit

Permalink
[PATCH] drivers/net/irda/irport.c: cleanups
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jan 10, 2006
1 parent e48e990 commit e7c368b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions drivers/net/irda/irport.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,19 +284,6 @@ static void irport_start(struct irport_cb *self)
outb(UART_IER_RLSI | UART_IER_RDI |UART_IER_THRI, iobase+UART_IER);
}

/*
* 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)
*
Expand Down Expand Up @@ -382,7 +369,7 @@ static void irport_change_speed(void *priv, __u32 speed)
* 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;
Expand Down

0 comments on commit e7c368b

Please sign in to comment.