]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove some sparse warnings
authorEric Dumazet <edumazet@google.com>
Wed, 4 Feb 2015 21:37:44 +0000 (13:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 08:41:17 +0000 (00:41 -0800)
commit93bc851ad3b9ad06cf1976edcf00cd25f49bb942
treeafbfd0d445469f7a7afe15454925ed3348774bd3
parenta6565c4c7450f1f3cf5a3e40afeb04f54ca9efcd
net: remove some sparse warnings

netdev_adjacent_add_links() and netdev_adjacent_del_links()
are static.

queue->qdisc has __rcu annotation, need to use RCU_INIT_POINTER()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c