From patchwork Mon Nov 5 07:33:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honggang LI X-Patchwork-Id: 10667489 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A003F13B5 for ; Mon, 5 Nov 2018 07:34:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86D97294AB for ; Mon, 5 Nov 2018 07:34:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B19C29636; Mon, 5 Nov 2018 07:34:13 +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=-7.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SUBJ_OBFU_PUNCT_FEW 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 16EBA294AB for ; Mon, 5 Nov 2018 07:34:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728671AbeKEQwa (ORCPT ); Mon, 5 Nov 2018 11:52:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35366 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727615AbeKEQwa (ORCPT ); Mon, 5 Nov 2018 11:52:30 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 313E7308424D; Mon, 5 Nov 2018 07:34:12 +0000 (UTC) Received: from lhg.nay.redhat.com (unknown [10.66.129.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id BC8A61727B; Mon, 5 Nov 2018 07:34:10 +0000 (UTC) From: Honggang LI To: hal@dev.mellanox.co.il Cc: linux-rdma@vger.kernel.org, Honggang Li Subject: [PATCH] opensm/osm_path.h: Delete comments for non-existent struct field and function parameters Date: Mon, 5 Nov 2018 15:33:54 +0800 Message-Id: <20181105073354.13710-1-honli@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Mon, 05 Nov 2018 07:34:12 +0000 (UTC) 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: Honggang Li BTW, delete one redundant comment. Signed-off-by: Honggang Li --- include/opensm/osm_path.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/include/opensm/osm_path.h b/include/opensm/osm_path.h index b69e5f9c..1c2d32dd 100644 --- a/include/opensm/osm_path.h +++ b/include/opensm/osm_path.h @@ -85,9 +85,6 @@ typedef struct osm_dr_path { } osm_dr_path_t; /* * FIELDS -* h_bind -* Bind handle for port to which this path applies. -* * hop_count * The number of hops in this path. * @@ -108,7 +105,6 @@ typedef struct osm_dr_path { */ static inline void osm_dr_path_construct(IN osm_dr_path_t * p_path) { - /* The first location in the path array is reserved. */ memset(p_path, 0, sizeof(*p_path)); } @@ -117,15 +113,6 @@ static inline void osm_dr_path_construct(IN osm_dr_path_t * p_path) * p_path * [in] Pointer to a directed route path object to initialize. * -* h_bind -* [in] Bind handle for the port on which this path applies. -* -* hop_count -* [in] Hop count needed to reach this node. -* -* path -* [in] Directed route path to reach this node. -* * RETURN VALUE * None. * @@ -159,9 +146,6 @@ osm_dr_path_init(IN osm_dr_path_t * p_path, IN uint8_t hop_count, * p_path * [in] Pointer to a directed route path object to initialize. * -* h_bind -* [in] Bind handle for the port on which this path applies. -* * hop_count * [in] Hop count needed to reach this node. *