Re: [patch] input: Get rid of kbd_pt_regs [5/14]

James Simmons
2003-02-13T16:29:27Z

> > One idea about kbd_pt_regs. Only one function, fn_show_ptregs, uses
> > kbd_pt_regs. Instaed of passing reg data around wouldn't be better to
> > just remove fn_show_ptregs from the FN_HANDLERS and call it independently
> > inside of kbd_keycode instead.
>
> I'm not sure if that's really a nicer solution.

Actually why do we have this function in keyboard.c when we have
sysrq_handle_showregs in sysrq.c? Both do the same thing.