Loading include/net/genetlink.h +0 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,6 @@ struct genl_family { struct module *module; }; struct nlattr **genl_family_attrbuf(const struct genl_family *family); /** * struct genl_info - receiving information * @snd_seq: sending sequence number Loading net/netlink/genetlink.c +0 −19 Original line number Diff line number Diff line Loading @@ -1164,25 +1164,6 @@ static int __init genl_init(void) subsys_initcall(genl_init); /** * genl_family_attrbuf - return family's attrbuf * @family: the family * * Return the family's attrbuf, while validating that it's * actually valid to access it. * * You cannot use this function with a family that has parallel_ops * and you can only use it within (pre/post) doit/dumpit callbacks. */ struct nlattr **genl_family_attrbuf(const struct genl_family *family) { if (!WARN_ON(family->parallel_ops)) lockdep_assert_held(&genl_mutex); return family->attrbuf; } EXPORT_SYMBOL(genl_family_attrbuf); static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, gfp_t flags) { Loading Loading
include/net/genetlink.h +0 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,6 @@ struct genl_family { struct module *module; }; struct nlattr **genl_family_attrbuf(const struct genl_family *family); /** * struct genl_info - receiving information * @snd_seq: sending sequence number Loading
net/netlink/genetlink.c +0 −19 Original line number Diff line number Diff line Loading @@ -1164,25 +1164,6 @@ static int __init genl_init(void) subsys_initcall(genl_init); /** * genl_family_attrbuf - return family's attrbuf * @family: the family * * Return the family's attrbuf, while validating that it's * actually valid to access it. * * You cannot use this function with a family that has parallel_ops * and you can only use it within (pre/post) doit/dumpit callbacks. */ struct nlattr **genl_family_attrbuf(const struct genl_family *family) { if (!WARN_ON(family->parallel_ops)) lockdep_assert_held(&genl_mutex); return family->attrbuf; } EXPORT_SYMBOL(genl_family_attrbuf); static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, gfp_t flags) { Loading