From patchwork Thu Dec 28 00:33:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10134333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C41B26037D for ; Thu, 28 Dec 2017 00:34:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B55DB2D23B for ; Thu, 28 Dec 2017 00:34:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A94212D264; Thu, 28 Dec 2017 00:34:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 928602D23B for ; Thu, 28 Dec 2017 00:34:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052AbdL1AeD (ORCPT ); Wed, 27 Dec 2017 19:34:03 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:33292 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752024AbdL1AeD (ORCPT ); Wed, 27 Dec 2017 19:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=D27JOtfm7lHuxxvGrpETn6Syw7BfiLzgdktnNHsuyH8=; b=uxt/kG3TL5Ui3vnyrg1UQgiQW Wh3eThb3DsEK1wPJgLubiUMfhSEKG/ucahhuoyPeeqchRzfpBTxKQDyrdaa0+2tkGOXU+5IZKdfsW 9ecL5VvFzpYXCvvWmzOdTUiDfdZosixnlHKRosGRyyuI3r4xtq6JqDv0nQ6PeQKtsw86cZU35O/79 FNJWw50cTsp+z5ioNd3W4whJ6pbB5NFz/3i2EqlanuNn/+TM73dciX7z3BTqg+bPJ5WOWo+d9vg6K /kJ/zTlk+xHX/g3ZXDN9TSVrbSKiO2iScArM7wqUve2/v6aA7jAIJwRJnTsS+/VAWDxb6mVISzMd/ 3t2qflYMA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlap) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eUM90-0005C0-66; Thu, 28 Dec 2017 00:33:58 +0000 To: "linux-rdma@vger.kernel.org" Cc: Jason Gunthorpe , Doug Ledford , Yuval Shaia , Leon Romanovsky , Daniel Jurgens From: Randy Dunlap Subject: [PATCH] infiniband: drop unknown function from core_priv.h Message-ID: Date: Wed, 27 Dec 2017 16:33:57 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap 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 Cc: Daniel Jurgens Cc: Leon Romanovsky Cc: Yuval Shaia Cc: Doug Ledford Cc: Jason Gunthorpe 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 --- 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);