lapb: Neaten debugging
Enable dynamic debugging and remove a bunch of #ifdef/#endifs. Add a lapb_dbg(level, fmt, ...) macro and replace the printk(KERN_DEBUG uses. Add pr_fmt and remove embedded prefixes. Signed-off-by:Joe Perches <joe@perches.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/lapb.h 6 additions, 0 deletionsinclude/net/lapb.h
- net/lapb/lapb_iface.c 7 additions, 15 deletionsnet/lapb/lapb_iface.c
- net/lapb/lapb_in.c 91 additions, 229 deletionsnet/lapb/lapb_in.c
- net/lapb/lapb_out.c 13 additions, 25 deletionsnet/lapb/lapb_out.c
- net/lapb/lapb_subr.c 12 additions, 16 deletionsnet/lapb/lapb_subr.c
- net/lapb/lapb_timer.c 11 additions, 21 deletionsnet/lapb/lapb_timer.c
Loading
Please register or sign in to comment