From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 024E7C74A35 for ; Thu, 11 Jul 2019 14:47:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC6BD20872 for ; Thu, 11 Jul 2019 14:47:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="KvUJNONA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbfGKOrt (ORCPT ); Thu, 11 Jul 2019 10:47:49 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:32881 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728102AbfGKOrs (ORCPT ); Thu, 11 Jul 2019 10:47:48 -0400 Received: by mail-vs1-f67.google.com with SMTP id m8so4392921vsj.0 for ; Thu, 11 Jul 2019 07:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rUmlGY6yas6VrdYZGOaSdQwWGQVgRyYlGBxMRjwXy+U=; b=KvUJNONAi7UUgCR2G0iyP9dC+TEMlGB52UsU1vpEIE5VUni18sfejiXR6iDDWn9v+L DRT+7FMtOVb1Q5RVg/FNfJrxVYnjZ8hPBBJS3BgXxC8s+n22dFw04/QfQE/PzafV70Ux yuO1IbahQooVuS+EAWoBqL1hRsJC012tPEX+7IwdPyb6Sc5P57LB6iGNOhObv3pivyMG qit8V+zMIOigBTnd9LMt57Oty1F4rJVj6Pf6gsrZPQ7bDgZ+ma+hixUViT2TEmzDyLL8 q+MKCCA14cL/H81tWsOac2m2U5Ot90z2OirelMMAk6qnpIFHP4rxO/tfP0F2dHPgqOza CtnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=rUmlGY6yas6VrdYZGOaSdQwWGQVgRyYlGBxMRjwXy+U=; b=TTAsPRk4QBfe1pkjjWfyj+wISjp29ZaXKv4OIgio4kVPRgQKr7y3c5OZwOtZEkzeRt bwn5ffpD56CMpXAYToVqGto4WDLGJWyCQjArQF/PJH/u95k3Ugf6OCd+YLCLg3aW9uI1 3zwGhALmqRJX3Ir5WR5K5uPpIqzvrejAb/DDh80tCO1ftGjblSV7TK646MATh0jo6kC6 6iGj93JV6XefNvIxyMxyktOTaOYKFPJKveuSX+gEbmyHjylJWoT9DRJYgmjCIkC76ZUs GbsqrOYL8SlVEQnzb6AoN482FeELeV20a9urBA3uqc++K4c5VC1yA3hohCYCM5eVsyl0 QvmQ== X-Gm-Message-State: APjAAAUk9yfA27EgeBxvdqbSDd3iGFeg/K/+XgNiPR2pTDo9pyzOy2Wk hOVf5jkB+ZCPI1sfWZxPhETx2w== X-Google-Smtp-Source: APXvYqweUoGqYduacnXihqjruL1/rYGti5hbwSoZmr/KlGD77Gaa/f8FIBkxNmOTelMEisrTtqxYMg== X-Received: by 2002:a67:2586:: with SMTP id l128mr4867052vsl.52.1562856467869; Thu, 11 Jul 2019 07:47:47 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-55-100.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.55.100]) by smtp.gmail.com with ESMTPSA id z10sm1661564vsn.23.2019.07.11.07.47.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jul 2019 07:47:47 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hlaMM-0003UA-NL; Thu, 11 Jul 2019 11:47:46 -0300 Date: Thu, 11 Jul 2019 11:47:46 -0300 From: Jason Gunthorpe To: YueHaibing Cc: bmt@zurich.ibm.com, dledford@redhat.com, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH -next] rdma/siw: remove set but not used variable 's' Message-ID: <20190711144746.GA13376@ziepe.ca> References: <20190711071213.57880-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711071213.57880-1-yuehaibing@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Thu, Jul 11, 2019 at 03:12:13PM +0800, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/infiniband/sw/siw/siw_cm.c: In function siw_cm_llp_state_change: > drivers/infiniband/sw/siw/siw_cm.c:1278:17: warning: variable s set but not used [-Wunused-but-set-variable] > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/infiniband/sw/siw/siw_cm.c | 3 --- > 1 file changed, 3 deletions(-) Applied to for-next, thanks Jason