diff mbox

infiniband: drop unknown function from core_priv.h

Message ID a74802df-c00b-922b-bafa-8fba947a53c8@infradead.org (mailing list archive)
State Accepted
Headers show

Commit Message

Randy Dunlap Dec. 28, 2017, 12:33 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Delete ibnl_chk_listeners() and its kernel-doc comments from the
core_priv.h header file.  There is no such function.

Fixes 233c1955835b ("RDMA/netlink: Reduce exposure of RDMA netlink functions")

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Daniel Jurgens <danielj@mellanox.com>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Yuval Shaia <yuval.shaia@oracle.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@mellanox.com>
Cc: linux-rdma@vger.kernel.org
---
 drivers/infiniband/core/core_priv.h |    7 -------
 1 file changed, 7 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Jason Gunthorpe Dec. 28, 2017, 4:29 a.m. UTC | #1
On Wed, Dec 27, 2017 at 04:33:57PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Delete ibnl_chk_listeners() and its kernel-doc comments from the
> core_priv.h header file.  There is no such function.
> 
> Fixes 233c1955835b ("RDMA/netlink: Reduce exposure of RDMA netlink functions")
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Daniel Jurgens <danielj@mellanox.com>
> Cc: Leon Romanovsky <leonro@mellanox.com>
> Cc: Yuval Shaia <yuval.shaia@oracle.com>
> Cc: Doug Ledford <dledford@redhat.com>
> Cc: Jason Gunthorpe <jgg@mellanox.com>
> Cc: linux-rdma@vger.kernel.org
>  drivers/infiniband/core/core_priv.h |    7 -------
>  1 file changed, 7 deletions(-)

Thanks, applied to -next

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-next-20171222.orig/drivers/infiniband/core/core_priv.h
+++ linux-next-20171222/drivers/infiniband/core/core_priv.h
@@ -191,13 +191,6 @@  void ib_sa_cleanup(void);
 int rdma_nl_init(void);
 void rdma_nl_exit(void);
 
-/**
- * Check if there are any listeners to the netlink group
- * @group: the netlink group ID
- * Returns 0 on success or a negative for no listeners.
- */
-int ibnl_chk_listeners(unsigned int group);
-
 int ib_nl_handle_resolve_resp(struct sk_buff *skb,
 			      struct nlmsghdr *nlh,
 			      struct netlink_ext_ack *extack);