commit | b733c007edad6f3e05109951bacc6f87dd807917 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Nov 07 02:23:38 2007 -0800 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Nov 07 04:15:04 2007 -0800 |
tree | fa267da7ccba5bae081997064d953f5993c3dbf3 | |
parent | 4999f3621f4da622e77931b3d33ada6c7083c705 [diff] |
[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 <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>