summaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2012-08-16 12:09:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-20 02:26:30 -0700
commitfa7f86f1bb5d8f08d10442a546252d2670b26f41 (patch)
tree5d778d60fbaeeebdf5c1022e577d62445d1221e2 /net/tipc/core.c
parentfff3321d75b1a18231876a1aceb36eacbbf6221e (diff)
downloadop-kernel-dev-fa7f86f1bb5d8f08d10442a546252d2670b26f41.zip
op-kernel-dev-fa7f86f1bb5d8f08d10442a546252d2670b26f41.tar.gz
tipc: optimize the initialization of network device notifier
Ethernet media initialization is only done when TIPC is started or switched to network mode. So the initialization of the network device notifier structure can be moved out of this function and done statically instead. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud