Re: [PATCH] Clean proto_(un)register from in-code ifdefs

2007-11-07 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Tue, 06 Nov 2007 20:20:24 +0300 > The struct proto has the per-cpu "inuse" counter, which is handled > with a special care. All the handling code hides under the ifdef > CONFIG_SMP and it introduces some code duplication and makes it > look worse t

[PATCH] Clean proto_(un)register from in-code ifdefs

2007-11-06 Thread Pavel Emelyanov
The struct proto has the per-cpu "inuse" counter, which is handled with a special care. All the handling code hides under the ifdef CONFIG_SMP and it introduces some code duplication and makes it look worse than it could. Clean this. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff