genetlink: simplify genl_notify
authorJiri Benc <jbenc@redhat.com>
Tue, 22 Sep 2015 16:56:43 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2015 19:25:23 +0000 (12:25 -0700)
commit92c14d9b5ee86fd6cf136c01b6a87353522aebdd
tree06a095b1c2f948b3a045e12406b0ca8020c20bf5
parent06e60e5912c0373b15143cc52e4a11fafeaafff3
genetlink: simplify genl_notify

The genl_notify function has too many arguments for no real reason - all
callers use genl_info to get them anyway. Just pass the genl_info down to
genl_notify.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/mac80211_hwsim.c
include/net/genetlink.h
net/netlink/genetlink.c
net/openvswitch/datapath.c