summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_netlink.h
diff options
context:
space:
mode:
authorLeon Romanovsky2017-06-18 14:44:32 +0200
committerLeon Romanovsky2017-08-10 12:19:03 +0200
commit4d7f693af0c9d0d6940ff36f5adca1adfa0e7e6e (patch)
tree4855b14fca0c0c71d7c1124c739e436be6e7f8ca /include/rdma/rdma_netlink.h
parentRDMA/netlink: Rename and remove redundant parameter from ibnl_unicast* (diff)
downloadkernel-qcow2-linux-4d7f693af0c9d0d6940ff36f5adca1adfa0e7e6e.tar.gz
kernel-qcow2-linux-4d7f693af0c9d0d6940ff36f5adca1adfa0e7e6e.tar.xz
kernel-qcow2-linux-4d7f693af0c9d0d6940ff36f5adca1adfa0e7e6e.zip
RDMA/netlink: Rename and remove redundant parameter from ibnl_multicast
The pointer to netlink header was not used in the ibnl_multicast function, so let's remove it and simplify the function signature. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Diffstat (limited to 'include/rdma/rdma_netlink.h')
-rw-r--r--include/rdma/rdma_netlink.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/rdma/rdma_netlink.h b/include/rdma/rdma_netlink.h
index e7b0779385e9..16a94c425938 100644
--- a/include/rdma/rdma_netlink.h
+++ b/include/rdma/rdma_netlink.h
@@ -72,12 +72,10 @@ int rdma_nl_unicast_wait(struct sk_buff *skb, __u32 pid);
/**
* Send the supplied skb to a netlink group.
* @skb: The netlink skb
- * @nlh: Header of the netlink message to send
* @group: Netlink group ID
* @flags: allocation flags
* Returns 0 on success or a negative error code.
*/
-int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh,
- unsigned int group, gfp_t flags);
+int rdma_nl_multicast(struct sk_buff *skb, unsigned int group, gfp_t flags);
#endif /* _RDMA_NETLINK_H */