o rtnetlink: use C99 struct init style

parent 1bb563db
...@@ -539,9 +539,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi ...@@ -539,9 +539,7 @@ static int rtnetlink_event(struct notifier_block *this, unsigned long event, voi
} }
struct notifier_block rtnetlink_dev_notifier = { struct notifier_block rtnetlink_dev_notifier = {
rtnetlink_event, .notifier_call = rtnetlink_event,
NULL,
0
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment