diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-01-06 04:20:11 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-06 05:27:54 +0400 |
commit | a48d4bb0b08fa621439bfcc32ad2f4c4e98decfc (patch) | |
tree | 102b8426fef5285cf8f71e3714efe2831d15a071 /net/core/skbuff.c | |
parent | 855404efae0d449cc491978d54ea5d117a3cb271 (diff) | |
download | linux-a48d4bb0b08fa621439bfcc32ad2f4c4e98decfc.tar.xz |
net: netdev_kobject_init: annotate with __init
netdev_kobject_init() is only being called from __init context,
that is, net_dev_init(), so annotate it with __init as well, thus
the kernel can take this as a hint that the function is used only
during the initialization phase and free up used memory resources
after its invocation.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions