From patchwork Wed Oct 14 04:14:35 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keshetti Mahesh X-Patchwork-Id: 53580 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9E4FqSm015826 for ; Wed, 14 Oct 2009 04:15:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750852AbZJNEPc (ORCPT ); Wed, 14 Oct 2009 00:15:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750877AbZJNEPc (ORCPT ); Wed, 14 Oct 2009 00:15:32 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:33940 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbZJNEPb (ORCPT ); Wed, 14 Oct 2009 00:15:31 -0400 Received: by pzk26 with SMTP id 26so9616968pzk.4 for ; Tue, 13 Oct 2009 21:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=ZjXZoNUS1PulUT3V9/cBrHM7y0nEhWOj0zKCzMjb+3I=; b=JuPeMhkVcx47gLjPobBKS+8eBDgs/oymlwcqnqrr3t8XMzoqA1Qt0PYPUzihS5s+Ol /oOR6XZ9GSB7xfIaJJooxjSzLdlYto7jHD4lqOQdPoU1CA1Kg6c1H+0IuOIILWZumOhG 7iN8Jan4gkTJ1J2Rk2r4osA3+5Z5lZngNMXtw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=q2yCNkl1H597Mz1B91mZbP72zgNY7lbtCLJRuJBj1P8l9+ICA7p6rLWpleimxzUrOE xSrk2PhAf4hqcSKWOQRkMFJ4h80+5RzePlzH/mgIVL7NghOp8OSCmTwVz/REVDD2pJk2 CKgkrA20XHHkLe10KoiuRCKmZBlayy24IIo0o= MIME-Version: 1.0 Received: by 10.141.27.20 with SMTP id e20mr621382rvj.53.1255493695142; Tue, 13 Oct 2009 21:14:55 -0700 (PDT) From: Keshetti Mahesh Date: Wed, 14 Oct 2009 09:44:35 +0530 Message-ID: <829ded920910132114v24498fdfjbdcf17d92363adb8@mail.gmail.com> Subject: [PATCH] infiniband-diags/libibnetdisc: Removed trivial comments To: OFED mailing list Cc: Ira Weiny , Sasha Khapyorsky Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/infiniband-diags/libibnetdisc/src/ibnetdisc.c b/infiniband-diags/libibnetdisc/src/ibnetdisc.c index 97e369c..ef8aa6a 100644 --- a/infiniband-diags/libibnetdisc/src/ibnetdisc.c +++ b/infiniband-diags/libibnetdisc/src/ibnetdisc.c @@ -94,9 +94,6 @@ static int get_port_info(struct ibmad_port *ibmad_port, return 0; } -/* - * Returns -1 if error. - */ static int query_node_info(struct ibmad_port *ibmad_port, ibnd_fabric_t * fabric, ibnd_node_t * node, ib_portid_t * portid) @@ -113,9 +110,6 @@ static int query_node_info(struct ibmad_port *ibmad_port, return (0); } -/* - * Returns 0 if non switch node is found, 1 if switch is found, -1 if error. - */ static int query_node(struct ibmad_port *ibmad_port, ibnd_fabric_t * fabric, ibnd_node_t * node, ibnd_port_t * port, ib_portid_t * portid)