]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Cleanup calling netdev notifiers.
authorPavel Emelyanov <xemul@openvz.org>
Sun, 16 Sep 2007 22:42:43 +0000 (15:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:51:21 +0000 (16:51 -0700)
commita1e15d1fa37b3bf0d90d41591209cce9edc79bde
tree98a5cadc7499acdc6c89ddc4d58f802b17c5d7e7
parent12c7bbd7bb95bc906754b8efbe777a8fa7fd66b8
[NET]: Cleanup calling netdev notifiers.

The call_netdev_notifiers routine can successfully be used in
the net/core_dev.c itself.

This will save 6 lines of code and 62 ;) bytes of .text section.

62 is rather small, but I have one more patch saving ~30 bytes
from netns code (sent to Eric), so altogether they can save
some more noticeable amount.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c