Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5696952ybi; Tue, 4 Jun 2019 10:36:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyb1hNU5CuYv7OogqMQ7mVl5OZzfauvRVFh/abxz/mrZI7pPCpr3gCmATw+q499FzKLmDm X-Received: by 2002:a63:234c:: with SMTP id u12mr37123215pgm.264.1559669766435; Tue, 04 Jun 2019 10:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559669766; cv=none; d=google.com; s=arc-20160816; b=kAFR+bCg6+FPNwQgDyWW5N6TsTZoTLtNZuR7RZ83ZyOK+PorGBvZDlTlj6QMwUPTPx O+fcOW7+DjrQqSXmfvFbGL+G81XPSpbFhjh8HSPKjLscxt+kaoWM9rJGcTfcKXErZZKF ogEr0K/AFtT9PLRvqdWPVu/XakiNff8iXWKIi5Hvjxvzl/dRi+KFQkgvOTBLxXFzbsHZ IVj2uKkuSDL5yAWrSoy+RlM6aPAZrOm0aIX/boDxhRDQhMcvM+DcbgJI9Ys17lT/xeTR PhFQLL5pmUJ2Yc9TqnYkD8ySaxjiYUCry4RJ7YtLG3yfTMrxi1bQ3U9roypa053D0cjY tutw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=4WbrwLtDUXe8HTAdFzSzCI6MmrDej8XdLtQH+1WkJxA=; b=UDQFGXZBULCoYlBNnxvMA11E5JgQSrID8E5MBfbe2/3GuLBTvN1h9HWojr6dpJEjOP pfbn6AZeDU28YCPxRm4rm/JOU1rP7W5eU+5ZQPAtI6/4XMm/3OK0s1uGuwjN0Zwe7h7J LQFIHyrwzH6WXRv7u8/yXg0yfHXQqTvCy2rJUDf0C9NakBFerp6rJOe7a4vOZ1R9UYoc RbI/s6iiCOflJPBJmeuVVljmuixF7qS5p8GJ3YQQNH27PRd7FZsI8LmZqXiinJuoogqT OoDDsRQiRcSInYLJnc1wLDp5zKqr0uzqqrCi1rhiixN4MgA9gtDkyISJEXBfT7COZCio A7hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=hFHICOXg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15si22325064pgk.260.2019.06.04.10.35.50; Tue, 04 Jun 2019 10:36:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=hFHICOXg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbfFDRek (ORCPT + 99 others); Tue, 4 Jun 2019 13:34:40 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:43967 "EHLO mail-pg1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfFDRek (ORCPT ); Tue, 4 Jun 2019 13:34:40 -0400 Received: by mail-pg1-f172.google.com with SMTP id f25so10752056pgv.10 for ; Tue, 04 Jun 2019 10:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=4WbrwLtDUXe8HTAdFzSzCI6MmrDej8XdLtQH+1WkJxA=; b=hFHICOXg5ScO/YJHqqF2FT4bBiGpihOGIKHl5ID+Fs7tuhHLCoUimQ0j0R13OTcCQ2 oGYLIiOMyPJnydwnG4SKSpMpOoOWyqjSupIMzF3lQonYeamho4X6Ke/doYsodwYO9Xhj PBZs1IPvalwX9HhiwmW3el7cCkMlcpYAta4yM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=4WbrwLtDUXe8HTAdFzSzCI6MmrDej8XdLtQH+1WkJxA=; b=aZTd/xWLM7cTHMi93goJKvxg+7VIuQpzdshc/okCCkIrmIw8sr39Is3Kl2ZcqUdhpJ Ue2clxMm3RpnM5dfN3mKRia4vJH64brFGSvuZQaql1JrrH9aey/N8HG/lFDHHgvzz/82 BITd7cKb6EknfEX9eqUr3gLZ7VnhRtY53RrqLbc81ZkCvj1Y4PhOXSpP2VKGrVNOehzh x7O7z/0i7a4jrM6t7n0JVJooFVz6lAfZvKvbeZH916lJb7i11vE6QvG7UkV4Tm2G8PuU pduubfGYjwT9Gark0e61nDVo7YkEToQ31CyhBq5bI57D6NrjoEpBglKsoE/wy6p/TAuH DuRw== X-Gm-Message-State: APjAAAVAU4DoSppsOA6sDflDAciYxAQyJr1xhseZPCoNc/MwVsPTvLY7 sIpqPyUeFkVTu/x3SFIyBg4S4Q== X-Received: by 2002:a17:90a:23ce:: with SMTP id g72mr32288861pje.77.1559669679303; Tue, 04 Jun 2019 10:34:39 -0700 (PDT) Received: from [10.230.29.90] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id n184sm19870059pfn.21.2019.06.04.10.34.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 10:34:38 -0700 (PDT) Subject: Re: [PATCH -next] scsi: lpfc: Remove set but not used variables 'qp' To: YueHaibing , dick.kennedy@broadcom.com, jejb@linux.ibm.com, martin.petersen@oracle.com, jsmart2021@gmail.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org References: <20190531152745.7928-1-yuehaibing@huawei.com> From: James Smart Message-ID: Date: Tue, 4 Jun 2019 10:34:37 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190531152745.7928-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/31/2019 8:27 AM, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warnings: > > drivers/scsi/lpfc/lpfc_init.c: In function lpfc_setup_cq_lookup: > drivers/scsi/lpfc/lpfc_init.c:9359:30: warning: variable qp set but not used [-Wunused-but-set-variable] > > It's not used since commit e70596a60f88 ("scsi: lpfc: Fix > poor use of hardware queues if fewer irq vectors") > > Signed-off-by: YueHaibing > Looks good - thank You Reviewed-by: James SmartĀ