diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-13 21:05:59 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 07:14:40 +0200 |
commit | 42429aaee5eb44f4a48fdb056d77d0c06ef5aebc (patch) | |
tree | a23bc4a9464dd3f6323f707246b9738c87ed5482 /lib/bitrev.c | |
parent | [VLAN]: Move some device intialization code to dev->init callback (diff) | |
download | linux-42429aaee5eb44f4a48fdb056d77d0c06ef5aebc.tar.xz linux-42429aaee5eb44f4a48fdb056d77d0c06ef5aebc.zip |
[VLAN]: Move vlan_group allocation to seperate function
Move group allocation to a seperate function to clean up the code a bit
and allocate groups before registering the device. Device registration
is globally visible and causes netlink events, so we shouldn't fail
afterwards.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions