Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp217273pxv; Wed, 14 Jul 2021 02:19:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZgNaH4LEo5PNDyDciDUVpefYiwDAxtDEGXSqTKlQnLm6FxojwKpTKrlzQyY/tcG35XyeB X-Received: by 2002:a17:906:eda7:: with SMTP id sa7mr11326796ejb.135.1626254360265; Wed, 14 Jul 2021 02:19:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626254360; cv=none; d=google.com; s=arc-20160816; b=FgPPy2rvAQQt+MK0Qicb8oAzyvU6YWRqGKujECB1m2w48fT9eNLm7bWjABg3buWenu 5NwkNxtE7tlll+zhSLcpiC/yg1L6wgOO5apc4+6t0dj0cALk0tHrdhn14Z+K51ljEMK3 Abbqb1mFOWmAxtq/+DtRFu7PI6kdXNysj3D5rQuUdrq8eM6x1hiGu8LA4bL6II726STD nFfmG9EGCiUjgkIehzZVKeY7kaAOXAKGQ/vXDRPcvWr7/uUmlaJ3e2Cee5dAhotjA99q Iyb8fMb6QwfmcvGI5k+7ezxdOnDOT0mmzOS4V6CYCUVtJirnFJ4drHRoQYf13PtWxBL5 Z3yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=wlrejQF48WL4uSnd99LoOFS/aI1Cbh+kk7n1cuLb8Cw=; b=jibtpEgEEAJs431QB19lU8D7mJH0BCHTZ+StbKB+FmEhVIi1D0jqNV6iNtl5VMtMvB OoLgX7hV+29I0RM3i9RQWrURlyTrwaGm/cVj4oyUFJPmTOwOaoK6U9NjbGsMi9f6TPj2 gJsi3gatI+IuU2TxkKRz7nlYdK31HDCWK9Cxqw4Pctq393n1JmSLJFi6hkY1mkwuF4PL EinTSkF38gzxtuW1otf4Pxq+qLu7vtMMRZNyoyYkFrndQqtmX8DlU2AyNB0ieiSW2jFP zSJ4hfA/01RScnh8L8v7d4fdnHFGHovM+jiPRxwfcx0Fc/6W38Sd2oK/Un9DPRdnaW2G wBGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=P1U+2qmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn9si1983708edb.505.2021.07.14.02.18.56; Wed, 14 Jul 2021 02:19:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=P1U+2qmK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238481AbhGNJUu (ORCPT + 99 others); Wed, 14 Jul 2021 05:20:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238179AbhGNJUt (ORCPT ); Wed, 14 Jul 2021 05:20:49 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51DEAC061762 for ; Wed, 14 Jul 2021 02:17:58 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id x15-20020a25ce0f0000b029055bb0981111so1823809ybe.7 for ; Wed, 14 Jul 2021 02:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=wlrejQF48WL4uSnd99LoOFS/aI1Cbh+kk7n1cuLb8Cw=; b=P1U+2qmKrZFPH1F205C0/YpTnPSOtrtZBISVrVuEwKIgIwSqtTHUeBOxhmFB/MvPem 2cLbH//lBQbItf6/Yc3FkRmungVvfG2zSsBaUwKDE/P5z4CjvB7jWDetnL+2r9KzMUpi gIbMOZMlPnGP5E9kj/cEmpbjW9wnXRnCakZzq6OaxHE7giuBuEMO2O54imLNby/x/Nsp IE/Ktf90LufxxRvIiKvriv4sSdGNeXul5YdCxx2YJF0bfpJOYOhZIHbjzQAsMkbNOvRp 4jz/2/2oT3h6NQysEUnSd2ysPyr0MMSn/tdotxY0VoZTkoQ6It9txcbkrvge+5gddc90 3BUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=wlrejQF48WL4uSnd99LoOFS/aI1Cbh+kk7n1cuLb8Cw=; b=BxT6fHywNw0cgVr40CnkH1WoimQaSaczD6yhleIlZ8B7Iv7zwcSeoMScc46A6ZR//V j/KTZ83OBiWB2oIBwe22LF8NxvFheDAbxrFIS+m2WG7s8Lh8Gsdl9yN591SNrqqJii6a 8027lYmTXDD6K51FI3cvyscqzFazZOV5rIjaAm2eCCYLSHLmSBAYmFNUm4rShSCgMLwQ 8w+uqtt+GaK+TRUNGN3oHJnE12kmUYKtFMK5bvPSi27JV5DodFaQXwsJ+PkKWk8mD2+O Tj/dlfISPR7Gyx8y3jX8QYVEwoSKeduaLKRakBigtLQEcQx1W2EgYilOnQV+ymuGqXNA ZJNQ== X-Gm-Message-State: AOAM530PW81YUsYH044nHB463Z/Y2hgR4c2wCajU6fz86kpC8fZGDh9w oK2CoBuQJGJKUzSm0VMk/jL8G0d8eYunKVqEzTo+JDoe9HoCEop2+fsDX9pmvn2+q3CnJE9gmB1 xZhbTd/YdXQQkkosZn77HzR91/7+cIx0AeSzbxPxw+idY7UA7IRiMwJQhEG9uPjjfyA== X-Received: from fawn.svl.corp.google.com ([2620:15c:2cd:202:c569:463c:c488:ac2]) (user=morbo job=sendgmr) by 2002:a25:764b:: with SMTP id r72mr12013800ybc.254.1626254277400; Wed, 14 Jul 2021 02:17:57 -0700 (PDT) Date: Wed, 14 Jul 2021 02:17:44 -0700 Message-Id: <20210714091747.2814370-1-morbo@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.32.0.93.g670b81a890-goog Subject: [PATCH 0/3] Fix clang -Wunused-but-set-variable warnings From: Bill Wendling To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-scsi@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor , Nick Desaulniers , Ariel Elior , Sudarsana Kalluru , GR-everest-linux-l2@marvell.com, "David S . Miller" , Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E . J . Bottomley" , "Martin K . Petersen" Cc: Bill Wendling Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches clean up warnings from clang's '-Wunused-but-set-variable' flag. Bill Wendling (3): base: remove unused variable 'no_warn' bnx2x: remove unused variable 'cur_data_offset' scsi: qla2xxx: remove unused variable 'status' drivers/base/module.c | 6 ++---- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 6 ------ drivers/scsi/qla2xxx/qla_nx.c | 2 -- 3 files changed, 2 insertions(+), 12 deletions(-) -- 2.32.0.93.g670b81a890-goog