]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETLABEL]: Shrink the genl-ops registration code.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 18 Feb 2008 06:33:16 +0000 (22:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2008 06:33:16 +0000 (22:33 -0800)
commit227c43c3bca76df704231324405980851dc7f528
tree6b6f32246a974382cc6b7d6474a18c225603a856
parentf47b7257c7368698eabff6fd7b340071932af640
[NETLABEL]: Shrink the genl-ops registration code.

Turning them to array and registration in a loop saves
80 lines of code and ~300 bytes from text section.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_cipso_v4.c
net/netlabel/netlabel_mgmt.c
net/netlabel/netlabel_unlabeled.c