Skip to content

Commit

Permalink
[PATCH] ppc64: Remove dummy getc routines
Browse files Browse the repository at this point in the history
Now that xmon is fixed we should not need the dummy getc routines.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Milton Miller authored and Paul Mackerras committed Sep 6, 2005
1 parent 41be31b commit 5fdabaa
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions arch/ppc64/kernel/pmac_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,6 @@ static void __pmac pmac_halt(void)
}

#ifdef CONFIG_BOOTX_TEXT
static int dummy_getc_poll(void)
{
return -1;
}

static unsigned char dummy_getc(void)
{
return 0;
}

static void btext_putc(unsigned char c)
{
btext_drawchar(c);
Expand Down Expand Up @@ -348,8 +338,8 @@ static void __init pmac_init_early(void)
init_boot_display();

ppc_md.udbg_putc = btext_putc;
ppc_md.udbg_getc = dummy_getc;
ppc_md.udbg_getc_poll = dummy_getc_poll;
ppc_md.udbg_getc = NULL;
ppc_md.udbg_getc_poll = NULL;
#endif /* CONFIG_BOOTX_TEXT */
}

Expand Down

0 comments on commit 5fdabaa

Please sign in to comment.