From: Pavel Emelyanov Date: Wed, 7 Nov 2007 10:23:38 +0000 (-0800) Subject: [NET]: Clean proto_(un)register from in-code ifdefs X-Git-Tag: v2.6.24-rc3~179^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b733c007edad6f3e05109951bacc6f87dd807917;p=pandora-kernel.git [NET]: Clean proto_(un)register from in-code ifdefs 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed