summaryrefslogtreecommitdiff
path: root/datapath/linux
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@ovn.org>2016-07-18 13:53:29 -0700
committerPravin B Shelar <pshelar@ovn.org>2016-07-18 13:53:29 -0700
commit40c08cdaed0cdfa1d68648be1bd65ee1df52144d (patch)
tree5b10511aab6816afcca1b7c096c4e561af281486 /datapath/linux
parent77a9a33842c1e05eb07eed44e136cce368144a7d (diff)
downloadopenvswitch-40c08cdaed0cdfa1d68648be1bd65ee1df52144d.tar.gz
datapath: genlmsg_new_unicast to genlmsg_new
API changes are related commit: openvswitch: Revert: "Enable memory mapped Netlink i/o" revert commit 795449d8b846 ("openvswitch: Enable memory mapped Netlink i/o"). Following the mmaped netlink removal this code can be removed. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'datapath/linux')
-rw-r--r--datapath/linux/compat/include/net/genetlink.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/datapath/linux/compat/include/net/genetlink.h b/datapath/linux/compat/include/net/genetlink.h
index 2830fa376..c8ee81a76 100644
--- a/datapath/linux/compat/include/net/genetlink.h
+++ b/datapath/linux/compat/include/net/genetlink.h
@@ -96,15 +96,6 @@ static inline int rpl_genl_register_family(struct genl_family *family)
#endif
-#ifndef HAVE_GENLMSG_NEW_UNICAST
-static inline struct sk_buff *genlmsg_new_unicast(size_t payload,
- struct genl_info *info,
- gfp_t flags)
-{
- return genlmsg_new(payload, flags);
-}
-#endif
-
#ifndef HAVE_GENL_HAS_LISTENERS
static inline int genl_has_listeners(struct genl_family *family,
struct net *net, unsigned int group)