rtnetlink-link: Avoid cast in rtnetlink_link_notifier_register().
authorBen Pfaff <blp@nicira.com>
Fri, 3 Jun 2011 17:10:41 +0000 (10:10 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 8 Jun 2011 00:05:42 +0000 (17:05 -0700)
commit9292989d05b1a468d17bce8f6222f5344bab6b03
tree2a40f9807fc535c4effa5846aad74bde501545a9
parentcb8ca532a6636d20c9d7e4a5323489cad9c3eeb7
rtnetlink-link: Avoid cast in rtnetlink_link_notifier_register().

It's easy enough to avoid this cast by going through a thunk function.
(The other cast in this function is harder to avoid.)

This is just a cleanup that doesn't fix any actual bug.
lib/rtnetlink-link.c