[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)
commit056925ab3145713e5e83cf8e05ae6fb2f4ace41e
tree98a5cadc7499acdc6c89ddc4d58f802b17c5d7e7
parent30d97d35851f40fd1c108d1b8904aca3c38d0126
[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